mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 10:51:37 +00:00
Add LICENSE file and update PKGBUILD to include license installation
Adds GPLv3 license file and updates packaging to install it Includes the GPLv3 license file for compliance and modifies the packaging script to ensure the license is installed in the standard license directory. Also cleans up and clarifies package installation paths for configuration and hook files. This improves package clarity and satisfies distribution requirements.
This commit is contained in:
parent
9ef873fab6
commit
b293da1e47
2 changed files with 682 additions and 8 deletions
|
|
@ -2,7 +2,6 @@
|
|||
# Based on PKGBUILD From the aur
|
||||
|
||||
pkgname=audiobookshelf-bin
|
||||
pkgver=2.28.0
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="Self-hosted audiobook server for managing and playing audiobooks"
|
||||
|
|
@ -13,18 +12,19 @@ depends=("ffmpeg" "libnusqlite3")
|
|||
backup=("etc/conf.d/${pkgname}")
|
||||
options=("!debug")
|
||||
|
||||
# The generator script will update the source and sha256sums dynamically.
|
||||
# The generator script will update the pkgver source and sha256sums dynamically
|
||||
# So we'll leave them empty for now and rely on the generator.
|
||||
|
||||
pkgver=PLACEHOLDER
|
||||
source=()
|
||||
sha256sums=()
|
||||
|
||||
|
||||
package() {
|
||||
install -Dm644 "${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}"
|
||||
install -Dm644 "${pkgname}.hook" "${pkgdir}/etc/pacman.d/hooks/${pkgname}.hook"
|
||||
install -Dm644 "${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
|
||||
install -Dm644 "${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
|
||||
install -Dm644 "${pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
|
||||
install -Dm644 "audiobookshelf.conf" "${pkgdir}/etc/conf.d/audiobookshelf"
|
||||
install -Dm644 "audiobookshelf.hook" "${pkgdir}/usr/share/libalpm/hooks/audiobookshelf.hook"
|
||||
install -Dm644 "audiobookshelf.service" "${pkgdir}/usr/lib/systemd/system/audiobookshelf.service"
|
||||
install -Dm644 "audiobookshelf.sysusers" "${pkgdir}/usr/lib/sysusers.d/audiobookshelf.conf"
|
||||
install -Dm644 "audiobookshelf.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/audiobookshelf.conf"
|
||||
install -Dm755 "audiobookshelf_${pkgver}" "${pkgdir}/usr/bin/audiobookshelf"
|
||||
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue