You've already forked audiobookshelf
Compare commits
6 Commits
7542fe43a7
...
79b01e1dea
| Author | SHA1 | Date | |
|---|---|---|---|
| 79b01e1dea | |||
| 25cfaeda12 | |||
| c0015d5efc | |||
|
|
bb1f4ef582 | ||
| 784dececce | |||
|
|
cff2473c48 |
11
.SRCINFO
11
.SRCINFO
@@ -1,6 +1,6 @@
|
||||
pkgbase = audiobookshelf
|
||||
pkgdesc = Self-hosted audiobook server for managing and playing audiobooks
|
||||
pkgver = 2.28.0
|
||||
pkgver = 2.30.0
|
||||
pkgrel = 1
|
||||
epoch = 1
|
||||
url = https://github.com/advplyr/audiobookshelf
|
||||
@@ -9,18 +9,17 @@ pkgbase = audiobookshelf
|
||||
license = GPL-3.0-only
|
||||
makedepends = npm
|
||||
depends = ffmpeg
|
||||
depends = libnusqlite3
|
||||
depends = nodejs
|
||||
depends = nodejs-lts-krypton
|
||||
options = !debug
|
||||
backup = etc/conf.d/audiobookshelf
|
||||
source = audiobookshelf-2.28.0.tar.gz::https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.28.0.tar.gz
|
||||
source = audiobookshelf-2.30.0.tar.gz::https://github.com/advplyr/audiobookshelf/archive/refs/tags/v2.30.0.tar.gz
|
||||
source = audiobookshelf.conf
|
||||
source = audiobookshelf.hook
|
||||
source = audiobookshelf.service
|
||||
source = audiobookshelf.sysusers
|
||||
source = audiobookshelf.tmpfiles
|
||||
sha256sums = 0b9fa156785a085478d9f7d59ae837da7e7293a23562a5e6e22a538ee3313ed2
|
||||
sha256sums = 50a42f0de1da9f780da11fa8413539fbb0a77857205b7ae25bb5bd35f51ad335
|
||||
sha256sums = 1f35924925671a23181b814123cd12d89ffd4fa0a1f40ab33791fa9480d047cf
|
||||
sha256sums = 8739e07db19557aa03d23af09e871f3ca9489d99688622c49f2ea4e8c60a7989
|
||||
sha256sums = 91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b
|
||||
sha256sums = 6caf801cfd2ba12002b32cf9029111ccc02da794f9bf4721f5e110a7940e4817
|
||||
sha256sums = cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa
|
||||
|
||||
9
PKGBUILD
9
PKGBUILD
@@ -3,14 +3,14 @@
|
||||
# Based on PKGBUILD by Kevin S <aur@eldenring.mozmail.com>
|
||||
|
||||
pkgname=audiobookshelf
|
||||
pkgver=2.28.0
|
||||
pkgver=2.30.0
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc="Self-hosted audiobook server for managing and playing audiobooks"
|
||||
arch=("x86_64" "aarch64")
|
||||
url="https://github.com/advplyr/${pkgname}"
|
||||
license=('GPL-3.0-only')
|
||||
depends=("ffmpeg" "libnusqlite3" "nodejs")
|
||||
depends=("ffmpeg" "nodejs-lts-krypton")
|
||||
makedepends=("npm")
|
||||
backup=("etc/conf.d/${pkgname}")
|
||||
options=("!debug")
|
||||
@@ -20,8 +20,8 @@ source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz
|
||||
"${pkgname}.service"
|
||||
"${pkgname}.sysusers"
|
||||
"${pkgname}.tmpfiles")
|
||||
sha256sums=('0b9fa156785a085478d9f7d59ae837da7e7293a23562a5e6e22a538ee3313ed2'
|
||||
'50a42f0de1da9f780da11fa8413539fbb0a77857205b7ae25bb5bd35f51ad335'
|
||||
sha256sums=('1f35924925671a23181b814123cd12d89ffd4fa0a1f40ab33791fa9480d047cf'
|
||||
'8739e07db19557aa03d23af09e871f3ca9489d99688622c49f2ea4e8c60a7989'
|
||||
'91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b'
|
||||
'6caf801cfd2ba12002b32cf9029111ccc02da794f9bf4721f5e110a7940e4817'
|
||||
'cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa'
|
||||
@@ -30,6 +30,7 @@ sha256sums=('0b9fa156785a085478d9f7d59ae837da7e7293a23562a5e6e22a538ee3313ed2'
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
npm run client
|
||||
npm install
|
||||
npm ci --only=production
|
||||
find {client/dist,node_modules,server} -type f -name "*.map" | xargs rm -rf
|
||||
sed -i '1i #!/usr/bin/node\n' index.js
|
||||
|
||||
@@ -4,7 +4,6 @@ CONFIG_PATH=/var/lib/audiobookshelf/config
|
||||
SOURCE=archlinux
|
||||
FFMPEG_PATH=/usr/bin/ffmpeg
|
||||
FFPROBE_PATH=/usr/bin/ffprobe
|
||||
NUSQLITE3_PATH=/usr/lib/libnusqlite3.so
|
||||
SKIP_BINARIES_CHECK=1
|
||||
PORT=13378
|
||||
HOST=0.0.0.0
|
||||
|
||||
Reference in New Issue
Block a user