diff --git a/PKGBUILD b/PKGBUILD index 39e8e5e..f5ce9ce 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -14,7 +14,7 @@ options=(!debug !strip) source=( "git+${url}#tag=${pkgver}" - 'audiobookshelf.conf.d' + 'audiobookshelf.conf' 'audiobookshelf.hook' 'audiobookshelf.service' 'audiobookshelf.sysusers' @@ -42,14 +42,14 @@ build() { cd client rm -rf node_modules npm ci --unsafe-perm=true --allow-root - NODE_OPTIONS=--openssl-legacy-provider npm run generate + NODE_OPTIONS=--openssl-legacy-provider npm run generate cd .. echo ">>> Building Server" echo "--------------------" rm -rf node_modules - npm ci --unsafe-perm=true --allow-root + npm ci --unsafe-perm=true --allow-root --only=production } package() { @@ -57,7 +57,7 @@ package() { "${srcdir}/${pkgname}"/node_modules/.bin/pkg -t node20-linux-x64 -o "${pkgdir}/usr/bin/audiobookshelf" . install -D -m 644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -D -m 644 "${srcdir}/audiobookshelf.conf.d" "${pkgdir}/etc/conf.d/audiobookshelf" + install -D -m 644 "${srcdir}/audiobookshelf.conf" "${pkgdir}/etc/conf.d/audiobookshelf" install -D -m 644 "${srcdir}/audiobookshelf.service" "${pkgdir}/usr/lib/systemd/system/audiobookshelf.service" install -D -m 644 "${srcdir}/audiobookshelf.sysusers" "${pkgdir}/usr/lib/sysusers.d/audiobookshelf.conf" install -D -m 644 "${srcdir}/audiobookshelf.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/audiobookshelf.conf" diff --git a/audiobookshelf.conf.d b/audiobookshelf.conf similarity index 87% rename from audiobookshelf.conf.d rename to audiobookshelf.conf index 4d945e5..f0dda63 100644 --- a/audiobookshelf.conf.d +++ b/audiobookshelf.conf @@ -2,6 +2,5 @@ METADATA_PATH=/var/lib/audiobookshelf/metadata CONFIG_PATH=/var/lib/audiobookshelf/config FFMPEG_PATH=/usr/bin/ffmpeg FFPROBE_PATH=/usr/bin/ffprobe -TONE_PATH=/usr/bin/tone PORT=13378 HOST=0.0.0.0