You've already forked audiobookshelf
Merge remote-tracking branch 'aur/master'
This commit is contained in:
13
PKGBUILD
13
PKGBUILD
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user