Merge remote-tracking branch 'aur/master'

This commit is contained in:
2025-12-30 18:02:04 -05:00
2 changed files with 12 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
pkgbase = audiobookshelf
pkgdesc = Self-hosted audiobook server for managing and playing audiobooks
pkgver = 2.30.0
pkgver = 2.32.1
pkgrel = 1
epoch = 1
url = https://github.com/advplyr/audiobookshelf
@@ -12,13 +12,13 @@ pkgbase = audiobookshelf
depends = nodejs-lts-krypton
options = !debug
backup = etc/conf.d/audiobookshelf
source = audiobookshelf-2.30.0.tar.gz::https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.30.0.tar.gz
source = audiobookshelf-2.32.1.tar.gz::https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.32.1.tar.gz
source = audiobookshelf.conf
source = audiobookshelf.hook
source = audiobookshelf.service
source = audiobookshelf.sysusers
source = audiobookshelf.tmpfiles
sha256sums = 1f35924925671a23181b814123cd12d89ffd4fa0a1f40ab33791fa9480d047cf
sha256sums = c718a9e23f7c94bf91c374564191ec4e030f638ec2cde379b8db71aee70b092a
sha256sums = 8739e07db19557aa03d23af09e871f3ca9489d99688622c49f2ea4e8c60a7989
sha256sums = 91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b
sha256sums = 6caf801cfd2ba12002b32cf9029111ccc02da794f9bf4721f5e110a7940e4817

View File

@@ -3,7 +3,7 @@
# Based on PKGBUILD by Kevin S <aur@eldenring.mozmail.com>
pkgname=audiobookshelf
pkgver=2.30.0
pkgver=2.32.1
pkgrel=1
epoch=1
pkgdesc="Self-hosted audiobook server for managing and playing audiobooks"
@@ -20,7 +20,7 @@ source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz
"${pkgname}.service"
"${pkgname}.sysusers"
"${pkgname}.tmpfiles")
sha256sums=('1f35924925671a23181b814123cd12d89ffd4fa0a1f40ab33791fa9480d047cf'
sha256sums=('c718a9e23f7c94bf91c374564191ec4e030f638ec2cde379b8db71aee70b092a'
'8739e07db19557aa03d23af09e871f3ca9489d99688622c49f2ea4e8c60a7989'
'91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b'
'6caf801cfd2ba12002b32cf9029111ccc02da794f9bf4721f5e110a7940e4817'
@@ -29,9 +29,14 @@ sha256sums=('1f35924925671a23181b814123cd12d89ffd4fa0a1f40ab33791fa9480d047cf'
build() {
cd "${pkgname}-${pkgver}"
# build client
npm run client
npm install
npm ci --only=production
# build server
# workaround for https://github.com/advplyr/audiobookshelf/issues/4876
npm install --cache "${srcdir}/npm-cache"
npm ci --omit=dev
find {client/dist,node_modules,server} -type f -name "*.map" | xargs rm -rf
sed -i '1i #!/usr/bin/node\n' index.js
}