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
|
pkgbase = audiobookshelf
|
||||||
pkgdesc = Self-hosted audiobook server for managing and playing audiobooks
|
pkgdesc = Self-hosted audiobook server for managing and playing audiobooks
|
||||||
pkgver = 2.28.0
|
pkgver = 2.30.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
epoch = 1
|
epoch = 1
|
||||||
url = https://github.com/advplyr/audiobookshelf
|
url = https://github.com/advplyr/audiobookshelf
|
||||||
@@ -9,18 +9,17 @@ pkgbase = audiobookshelf
|
|||||||
license = GPL-3.0-only
|
license = GPL-3.0-only
|
||||||
makedepends = npm
|
makedepends = npm
|
||||||
depends = ffmpeg
|
depends = ffmpeg
|
||||||
depends = libnusqlite3
|
depends = nodejs-lts-krypton
|
||||||
depends = nodejs
|
|
||||||
options = !debug
|
options = !debug
|
||||||
backup = etc/conf.d/audiobookshelf
|
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.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 = 0b9fa156785a085478d9f7d59ae837da7e7293a23562a5e6e22a538ee3313ed2
|
sha256sums = 1f35924925671a23181b814123cd12d89ffd4fa0a1f40ab33791fa9480d047cf
|
||||||
sha256sums = 50a42f0de1da9f780da11fa8413539fbb0a77857205b7ae25bb5bd35f51ad335
|
sha256sums = 8739e07db19557aa03d23af09e871f3ca9489d99688622c49f2ea4e8c60a7989
|
||||||
sha256sums = 91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b
|
sha256sums = 91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b
|
||||||
sha256sums = 6caf801cfd2ba12002b32cf9029111ccc02da794f9bf4721f5e110a7940e4817
|
sha256sums = 6caf801cfd2ba12002b32cf9029111ccc02da794f9bf4721f5e110a7940e4817
|
||||||
sha256sums = cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa
|
sha256sums = cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa
|
||||||
|
|||||||
9
PKGBUILD
9
PKGBUILD
@@ -3,14 +3,14 @@
|
|||||||
# 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.28.0
|
pkgver=2.30.0
|
||||||
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"
|
||||||
arch=("x86_64" "aarch64")
|
arch=("x86_64" "aarch64")
|
||||||
url="https://github.com/advplyr/${pkgname}"
|
url="https://github.com/advplyr/${pkgname}"
|
||||||
license=('GPL-3.0-only')
|
license=('GPL-3.0-only')
|
||||||
depends=("ffmpeg" "libnusqlite3" "nodejs")
|
depends=("ffmpeg" "nodejs-lts-krypton")
|
||||||
makedepends=("npm")
|
makedepends=("npm")
|
||||||
backup=("etc/conf.d/${pkgname}")
|
backup=("etc/conf.d/${pkgname}")
|
||||||
options=("!debug")
|
options=("!debug")
|
||||||
@@ -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=('0b9fa156785a085478d9f7d59ae837da7e7293a23562a5e6e22a538ee3313ed2'
|
sha256sums=('1f35924925671a23181b814123cd12d89ffd4fa0a1f40ab33791fa9480d047cf'
|
||||||
'50a42f0de1da9f780da11fa8413539fbb0a77857205b7ae25bb5bd35f51ad335'
|
'8739e07db19557aa03d23af09e871f3ca9489d99688622c49f2ea4e8c60a7989'
|
||||||
'91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b'
|
'91d00bbc9800f80cde439fd9b5343cf031b6a09557f03172c92d40f2f0775c2b'
|
||||||
'6caf801cfd2ba12002b32cf9029111ccc02da794f9bf4721f5e110a7940e4817'
|
'6caf801cfd2ba12002b32cf9029111ccc02da794f9bf4721f5e110a7940e4817'
|
||||||
'cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa'
|
'cd5db44865de6f7401093b60869f937703213f196220e8c3325fa7f1b02db1fa'
|
||||||
@@ -30,6 +30,7 @@ sha256sums=('0b9fa156785a085478d9f7d59ae837da7e7293a23562a5e6e22a538ee3313ed2'
|
|||||||
build() {
|
build() {
|
||||||
cd "${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
npm run client
|
npm run client
|
||||||
|
npm install
|
||||||
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' index.js
|
sed -i '1i #!/usr/bin/node\n' index.js
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ CONFIG_PATH=/var/lib/audiobookshelf/config
|
|||||||
SOURCE=archlinux
|
SOURCE=archlinux
|
||||||
FFMPEG_PATH=/usr/bin/ffmpeg
|
FFMPEG_PATH=/usr/bin/ffmpeg
|
||||||
FFPROBE_PATH=/usr/bin/ffprobe
|
FFPROBE_PATH=/usr/bin/ffprobe
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user