arch-pkgs/nzbget-systemd/PKGBUILD
2021-07-24 15:13:22 +00:00

25 lines
1,016 B
Bash

# Maintainer: George Rawlinson <george@rawlinson.net.nz>
# Contributor: Jan Holthuis <holthuis.jan@googlemail.com>
pkgname=nzbget-systemd
_pkgname="${pkgname%-systemd}"
pkgver=0.2
pkgrel=1
pkgdesc="Systemd integration for NZBGet"
arch=('any')
depends=('nzbget')
license=('GPL')
source=(
'systemd.service'
'sysusers.conf'
'tmpfiles.conf'
)
b2sums=('0fbaa70fbed48c4f58ca33600c4bfc589cdd01dc50cb282325670951bacc9a08affcc578082c858dfd7bb315860fabfbbacb80f2e940849a4a674b15a41304b6'
'3f6f8b36bc34fce7629acfb2899b5318a275b300dec1eee29ec3a67b78866f0e4a5e9b9d77efe52afb916b7e18d39f4f2c0b32b179cc4381b842e7dc491aeca4'
'8c9017fef83d03f36d83debb0ad495784eb02bf80f553683a6de0223ee3a854fbce25277f660e85f359bcaef311ededbcca8c2081d62bbebc6812626bfa345b1')
package() {
install -vDm644 systemd.service "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
install -vDm644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$_pkgname.conf"
install -vDm644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$_pkgname.conf"
}