audiobookshelf: 2.18.1-1
This commit is contained in:
parent
e8520dd7cc
commit
ad60ebb7b6
8
.SRCINFO
8
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = audiobookshelf
|
pkgbase = audiobookshelf
|
||||||
pkgdesc = Self-hosted audiobook server for managing and playing audiobooks
|
pkgdesc = Self-hosted audiobook server for managing and playing audiobooks
|
||||||
pkgver = 2.18.0
|
pkgver = 2.18.1
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
epoch = 1
|
epoch = 1
|
||||||
url = https://github.com/advplyr/audiobookshelf
|
url = https://github.com/advplyr/audiobookshelf
|
||||||
@ -13,14 +13,14 @@ pkgbase = audiobookshelf
|
|||||||
depends = nodejs
|
depends = nodejs
|
||||||
options = !debug
|
options = !debug
|
||||||
backup = etc/conf.d/audiobookshelf
|
backup = etc/conf.d/audiobookshelf
|
||||||
source = audiobookshelf-2.18.0.tar.gz::https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.18.0.tar.gz
|
source = audiobookshelf-2.18.1.tar.gz::https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.18.1.tar.gz
|
||||||
source = audiobookshelf.conf
|
source = audiobookshelf.conf
|
||||||
source = audiobookshelf.hook
|
source = audiobookshelf.hook
|
||||||
source = audiobookshelf.service
|
source = audiobookshelf.service
|
||||||
source = audiobookshelf.sysusers
|
source = audiobookshelf.sysusers
|
||||||
source = audiobookshelf.tmpfiles
|
source = audiobookshelf.tmpfiles
|
||||||
sha256sums = 44198d49a8d4416f02c036217263097001bb6b004106716c38042ccf4dbe7294
|
sha256sums = 694ab44f8c4c2671f09d4a8f938d93043c7b9668bff6e3574b2452fabfdfaf50
|
||||||
sha256sums = 642deac39c60d849d0cfdfa718c4da4ea6728585b1b55141f6bb1445fa90bff5
|
sha256sums = 50a42f0de1da9f780da11fa8413539fbb0a77857205b7ae25bb5bd35f51ad335
|
||||||
sha256sums = 91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b
|
sha256sums = 91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b
|
||||||
sha256sums = 4f37d8e407eda555231dc23d1cd35d329075ae6686acbb89d0b4612a824d594d
|
sha256sums = 4f37d8e407eda555231dc23d1cd35d329075ae6686acbb89d0b4612a824d594d
|
||||||
sha256sums = cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa
|
sha256sums = cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa
|
||||||
|
12
PKGBUILD
12
PKGBUILD
@ -3,7 +3,7 @@
|
|||||||
# Based on PKGBUILD by Kevin S <aur@eldenring.mozmail.com>
|
# Based on PKGBUILD by Kevin S <aur@eldenring.mozmail.com>
|
||||||
|
|
||||||
pkgname=audiobookshelf
|
pkgname=audiobookshelf
|
||||||
pkgver=2.18.0
|
pkgver=2.18.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc="Self-hosted audiobook server for managing and playing audiobooks"
|
pkgdesc="Self-hosted audiobook server for managing and playing audiobooks"
|
||||||
@ -20,8 +20,8 @@ source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz
|
|||||||
"${pkgname}.service"
|
"${pkgname}.service"
|
||||||
"${pkgname}.sysusers"
|
"${pkgname}.sysusers"
|
||||||
"${pkgname}.tmpfiles")
|
"${pkgname}.tmpfiles")
|
||||||
sha256sums=('44198d49a8d4416f02c036217263097001bb6b004106716c38042ccf4dbe7294'
|
sha256sums=('694ab44f8c4c2671f09d4a8f938d93043c7b9668bff6e3574b2452fabfdfaf50'
|
||||||
'642deac39c60d849d0cfdfa718c4da4ea6728585b1b55141f6bb1445fa90bff5'
|
'50a42f0de1da9f780da11fa8413539fbb0a77857205b7ae25bb5bd35f51ad335'
|
||||||
'91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b'
|
'91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b'
|
||||||
'4f37d8e407eda555231dc23d1cd35d329075ae6686acbb89d0b4612a824d594d'
|
'4f37d8e407eda555231dc23d1cd35d329075ae6686acbb89d0b4612a824d594d'
|
||||||
'cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa'
|
'cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa'
|
||||||
@ -32,7 +32,7 @@ build() {
|
|||||||
npm run client
|
npm run client
|
||||||
npm ci --only=production
|
npm ci --only=production
|
||||||
find {client/dist,node_modules,server} -type f -name "*.map" | xargs rm -rf
|
find {client/dist,node_modules,server} -type f -name "*.map" | xargs rm -rf
|
||||||
sed -i '1i #!/usr/bin/node\n' prod.js
|
sed -i '1i #!/usr/bin/node\n' index.js
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
@ -45,10 +45,10 @@ package() {
|
|||||||
cd "${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
install -Dm644 readme.md "${pkgdir}/usr/share/doc/${pkgname}/readme.md"
|
install -Dm644 readme.md "${pkgdir}/usr/share/doc/${pkgname}/readme.md"
|
||||||
install -Dm644 *.json -t "${pkgdir}/usr/lib/${pkgname}"
|
install -Dm644 *.json -t "${pkgdir}/usr/lib/${pkgname}"
|
||||||
install -Dm755 prod.js -t "${pkgdir}/usr/lib/${pkgname}"
|
install -Dm755 index.js -t "${pkgdir}/usr/lib/${pkgname}"
|
||||||
mv node_modules "${pkgdir}/usr/lib/${pkgname}"
|
mv node_modules "${pkgdir}/usr/lib/${pkgname}"
|
||||||
find {client/dist,server} -type f |
|
find {client/dist,server} -type f |
|
||||||
xargs -I {} install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/"{}
|
xargs -I {} install -Dm644 {} "${pkgdir}/usr/lib/${pkgname}/"{}
|
||||||
install -dm755 "${pkgdir}/usr/bin"
|
install -dm755 "${pkgdir}/usr/bin"
|
||||||
ln -s "/usr/lib/${pkgname}/prod.js" "${pkgdir}/usr/bin/${pkgname}"
|
ln -s "/usr/lib/${pkgname}/index.js" "${pkgdir}/usr/bin/${pkgname}"
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
NODE_ENV=production
|
||||||
METADATA_PATH=/var/lib/audiobookshelf/metadata
|
METADATA_PATH=/var/lib/audiobookshelf/metadata
|
||||||
CONFIG_PATH=/var/lib/audiobookshelf/config
|
CONFIG_PATH=/var/lib/audiobookshelf/config
|
||||||
SOURCE=archlinux
|
SOURCE=archlinux
|
||||||
@ -7,4 +8,5 @@ NUSQLITE3_PATH=/usr/lib/libnusqlite3.so
|
|||||||
SKIP_BINARIES_CHECK=1
|
SKIP_BINARIES_CHECK=1
|
||||||
PORT=13378
|
PORT=13378
|
||||||
HOST=0.0.0.0
|
HOST=0.0.0.0
|
||||||
# ROUTER_BASE_PATH=""
|
# ROUTER_BASE_PATH="/audiobookshelf"
|
||||||
|
# ALLOW_IFRAME=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user