arch-pkgs/nzbget-systemd/PKGBUILD
George Rawlinson 40a7250c58
build: import forked packages
Packages from either the AUR or generated by myself.
2021-07-24 10:00:59 +00:00

23 lines
1.1 KiB
Bash

# Maintainer: Jan Holthuis <holthuis.jan@googlemail.com>
# Contributor: George Rawlinson <george@rawlinson.net.nz>
pkgname=nzbget-systemd
_pkgname="${pkgname%-systemd}"
pkgver=0.1
pkgrel=4
pkgdesc="Systemd service for NZBGet"
url="https://github.com/Holzhaus/PKGBUILDs"
arch=('any')
depends=('nzbget')
license=('GPL')
source=("$_pkgname.service"
"$_pkgname.sysusers"
"$_pkgname.tmpfiles")
sha512sums=('74bb6d1a79c6a0c928877c7bc3149c2e7e2d0536b70abcb6e5a328f1aa4a33ce0ddfa02bee589f886f5c7e7cb8ad7c5a739b0e904196819ad81f6357c7b62944'
'b178acf03a0c2776a5609070a51d6a07f4ab2e3e8411e7c0b361db73638b097b663ab564b525a49ce01faf91eb8f9cfb3ef92eb44d702d774419213e0745ce0e'
'd1042a314238add1e10dbd02fc8912565fec47f67b54aeb10ba66cbaf2d20575985db9188e0ce40f679df1e2ce824435ce1523186d160406057c990e82d3fcbc')
package() {
install -Dm644 -t "${pkgdir}/usr/lib/systemd/system" "$_pkgname.service"
install -Dm644 "$_pkgname.sysusers" "${pkgdir}/usr/lib/sysusers.d/$_pkgname.conf"
install -Dm644 "$_pkgname.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/$_pkgname.conf"
}