summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc6c38017df660541b3b601871b98e37084e64f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Jan Holthuis <holthuis.jan@googlemail.com>

pkgname=nzbget-systemd
pkgver=0.1
pkgrel=2
pkgdesc="Systemd service and config for NZBGet"
url="https://github.com/Holzhaus/PKGBUILDs"
arch=('any')
depends=('nzbget')
license=('GPL')
source=('nzbget.service')
install='nzbget.install'
sha256sums=('c5dc750214105fe2ab4aff9545a48b7a5cfa246d00c771b1600ce4e6b74f70fb')
package() {
  cd "${srcdir}"

  install -d "${pkgdir}/usr/lib/systemd/system"
  install -m644 -t "${pkgdir}/usr/lib/systemd/system" nzbget.service

  install -d "${pkgdir}/var/lib/nzbget"

  install -d "${pkgdir}/var/lib/nzbget/downloads"
  install -d "${pkgdir}/var/lib/nzbget/downloads/dst"
  install -d "${pkgdir}/var/lib/nzbget/downloads/inter"
  install -d "${pkgdir}/var/lib/nzbget/downloads/nzb"
  install -d "${pkgdir}/var/lib/nzbget/downloads/queue"
  install -d "${pkgdir}/var/lib/nzbget/downloads/tmp"
  install -d "${pkgdir}/var/lib/nzbget/downloads/scripts"


}