fix: use more standard locations

This commit is contained in:
Jason Nader 2024-02-24 22:02:26 +09:00
parent 45975314ca
commit 1acefeff23
No known key found for this signature in database
GPG Key ID: EE220FCAA09AF23D
7 changed files with 22 additions and 22 deletions

View File

@ -1,7 +1,7 @@
pkgbase = audiobookshelf
pkgdesc = Self-hosted audiobook server for managing and playing audiobooks
pkgver = v2.8.0
pkgrel = 3
pkgrel = 4
url = https://github.com/advplyr/audiobookshelf
arch = any
license = GPL3
@ -21,10 +21,10 @@ pkgbase = audiobookshelf
source = audiobookshelf.sysusers
source = audiobookshelf.tmpfiles
md5sums = SKIP
md5sums = de5fab845f7f96b49956c7dc21268593
md5sums = 749322fc2b48a839a79a638d879e77a4
md5sums = ce89e5d2ce27de70b5e6b53cbaf595f0
md5sums = 63619dfc5bb5b2dbecfb1d6037095338
md5sums = 90e34ac4e5a79f71af3eaab8cebf1198
md5sums = 4832a71a50f33831b6b4be53555e05f5
md5sums = 3c4d1ab715f9221cb625b8248e3023df
md5sums = ed4711d3ce7d76fc173fb0e10915b80c
md5sums = f8a4833710760dd16a89906052dff322
md5sums = b741beeaf0fc232734c9d20ee5b988aa
pkgname = audiobookshelf

View File

@ -2,7 +2,7 @@
# Based on PKGBUILD by Kevin S <aur@eldenring.mozmail.com>
pkgname=audiobookshelf
pkgver=v2.8.0
pkgrel=3
pkgrel=4
pkgdesc="Self-hosted audiobook server for managing and playing audiobooks"
arch=('any')
url="https://github.com/advplyr/audiobookshelf"
@ -26,11 +26,11 @@ source=(
md5sums=(
'SKIP'
'de5fab845f7f96b49956c7dc21268593'
'749322fc2b48a839a79a638d879e77a4'
'ce89e5d2ce27de70b5e6b53cbaf595f0'
'63619dfc5bb5b2dbecfb1d6037095338'
'90e34ac4e5a79f71af3eaab8cebf1198'
'4832a71a50f33831b6b4be53555e05f5'
'3c4d1ab715f9221cb625b8248e3023df'
'ed4711d3ce7d76fc173fb0e10915b80c'
'f8a4833710760dd16a89906052dff322'
'b741beeaf0fc232734c9d20ee5b988aa'
)
prepare() {

View File

@ -1,5 +1,5 @@
METADATA_PATH=/usr/share/audiobookshelf/metadata
CONFIG_PATH=/usr/share/audiobookshelf/config
METADATA_PATH=/var/lib/audiobookshelf/metadata
CONFIG_PATH=/var/lib/audiobookshelf/config
FFMPEG_PATH=/usr/bin/ffmpeg
FFPROBE_PATH=/usr/bin/ffprobe
TONE_PATH=/usr/bin/tone

View File

@ -3,7 +3,7 @@
[Trigger]
Operation = Upgrade
Type = Package
Target = audiobookshelf-git
Target = audiobookshelf
[Action]
Description = Restarting audiobookshelf...

View File

@ -5,8 +5,8 @@ Requires=network.target
[Service]
Type=simple
EnvironmentFile=/etc/conf.d/audiobookshelf
WorkingDirectory=/usr/share/audiobookshelf
ExecStart=/usr/share/audiobookshelf/audiobookshelf
WorkingDirectory=/var/lib/audiobookshelf
ExecStart=/usr/bin/audiobookshelf
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
User=audiobookshelf

View File

@ -1,2 +1,2 @@
u audiobookshelf - - /usr/share/audiobookshelf
u audiobookshelf - - /var/lib/audiobookshelf
g audiobookshelf -

View File

@ -1,2 +1,2 @@
d /usr/share/audiobookshelf 0755 audiobookshelf audiobookshelf
Z /usr/share/audiobookshelf - audiobookshelf audiobookshelf
d /var/lib/audiobookshelf 0755 audiobookshelf audiobookshelf
Z /var/lib/audiobookshelf - audiobookshelf audiobookshelf