upgpkg: nzbget-systemd 0.2-1
Refactor package.
This commit is contained in:
parent
09c5fc02e2
commit
69938d64ea
6 changed files with 19 additions and 17 deletions
|
@ -1,23 +1,25 @@
|
||||||
# Maintainer: Jan Holthuis <holthuis.jan@googlemail.com>
|
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
|
||||||
# Contributor: George Rawlinson <george@rawlinson.net.nz>
|
# Contributor: Jan Holthuis <holthuis.jan@googlemail.com>
|
||||||
|
|
||||||
pkgname=nzbget-systemd
|
pkgname=nzbget-systemd
|
||||||
_pkgname="${pkgname%-systemd}"
|
_pkgname="${pkgname%-systemd}"
|
||||||
pkgver=0.1
|
pkgver=0.2
|
||||||
pkgrel=4
|
pkgrel=1
|
||||||
pkgdesc="Systemd service for NZBGet"
|
pkgdesc="Systemd integration for NZBGet"
|
||||||
url="https://github.com/Holzhaus/PKGBUILDs"
|
|
||||||
arch=('any')
|
arch=('any')
|
||||||
depends=('nzbget')
|
depends=('nzbget')
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
source=("$_pkgname.service"
|
source=(
|
||||||
"$_pkgname.sysusers"
|
'systemd.service'
|
||||||
"$_pkgname.tmpfiles")
|
'sysusers.conf'
|
||||||
sha512sums=('74bb6d1a79c6a0c928877c7bc3149c2e7e2d0536b70abcb6e5a328f1aa4a33ce0ddfa02bee589f886f5c7e7cb8ad7c5a739b0e904196819ad81f6357c7b62944'
|
'tmpfiles.conf'
|
||||||
'b178acf03a0c2776a5609070a51d6a07f4ab2e3e8411e7c0b361db73638b097b663ab564b525a49ce01faf91eb8f9cfb3ef92eb44d702d774419213e0745ce0e'
|
)
|
||||||
'd1042a314238add1e10dbd02fc8912565fec47f67b54aeb10ba66cbaf2d20575985db9188e0ce40f679df1e2ce824435ce1523186d160406057c990e82d3fcbc')
|
b2sums=('0fbaa70fbed48c4f58ca33600c4bfc589cdd01dc50cb282325670951bacc9a08affcc578082c858dfd7bb315860fabfbbacb80f2e940849a4a674b15a41304b6'
|
||||||
|
'3f6f8b36bc34fce7629acfb2899b5318a275b300dec1eee29ec3a67b78866f0e4a5e9b9d77efe52afb916b7e18d39f4f2c0b32b179cc4381b842e7dc491aeca4'
|
||||||
|
'8c9017fef83d03f36d83debb0ad495784eb02bf80f553683a6de0223ee3a854fbce25277f660e85f359bcaef311ededbcca8c2081d62bbebc6812626bfa345b1')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm644 -t "${pkgdir}/usr/lib/systemd/system" "$_pkgname.service"
|
install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
|
||||||
install -Dm644 "$_pkgname.sysusers" "${pkgdir}/usr/lib/sysusers.d/$_pkgname.conf"
|
install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$_pkgname.conf"
|
||||||
install -Dm644 "$_pkgname.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/$_pkgname.conf"
|
install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$_pkgname.conf"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
u nzbget - "NZBGet User" /var/lib/nzbget -
|
|
|
@ -1 +0,0 @@
|
||||||
d /var/lib/nzbget 0755 nzbget nzbget - -
|
|
1
nzbget-systemd/sysusers.conf
Normal file
1
nzbget-systemd/sysusers.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
u nzbget - "NZBGet daemon user" /var/lib/nzbget
|
1
nzbget-systemd/tmpfiles.conf
Normal file
1
nzbget-systemd/tmpfiles.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
d /var/lib/nzbget 0755 nzbget nzbget
|
Loading…
Reference in a new issue