mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-14 13:21:39 +00:00
Add Arch Linux packaging, cross-compilation support, and binary generation
- Introduce Arch Linux package build process, supporting both x86_64 and aarch64 architectures. - Add Arch-specific configuration files for service, sysusers, and tmpfiles to facilitate system integration. - Update packaging script to dynamically handle Arch-specific builds and configure PKGBUILD fields. - Add cross-compilation support, enabling building for ARM (aarch64) on x86_64 systems. - Implement binary generation for both architectures, allowing separate or unified binary outputs. - Include npm scripts to automate Arch build and cross-compilation processes. - Simplify deployment and integration for Arch-based systems.
This commit is contained in:
parent
a89a24e48e
commit
9ef873fab6
8 changed files with 257 additions and 20 deletions
9
build/arch/audiobookshelf.hook
Normal file
9
build/arch/audiobookshelf.hook
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[Trigger]
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = audiobookshelf
|
||||
|
||||
[Action]
|
||||
Description = Restarting audiobookshelf...
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/systemctl try-restart audiobookshelf.service
|
||||
Loading…
Add table
Add a link
Reference in a new issue