summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2018-07-31 12:49:40 -0700
committerDonald Webster2018-07-31 12:49:40 -0700
commit03bd2a666405491787f9fecbee991e9000fa2266 (patch)
tree98c956fe8e8ebefe79a20bb1e44dee618d9eb587
parent7785d546ccd6c705f1bd5b3d449d6451761bc0c4 (diff)
downloadaur-03bd2a666405491787f9fecbee991e9000fa2266.tar.gz
Version the wrapper script.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9e394604fcd2..518ac9693cd4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,7 +8,7 @@ pkgbase = nzbhydra2
depends = python2
depends = java-runtime-headless=8
source = https://github.com/theotherp/nzbhydra2/releases/download/v1.5.2/nzbhydra2-1.5.2-linux.zip
- source = https://raw.githubusercontent.com/theotherp/nzbhydra2/master/other/wrapper/nzbhydra2wrapper.py
+ source = nzbhydra2wrapper.py-1.5.2-2::https://raw.githubusercontent.com/theotherp/nzbhydra2/master/other/wrapper/nzbhydra2wrapper.py
source = nzbhydra2.service
source = nzbhydra2.tmpfiles
source = nzbhydra2.sysusers
diff --git a/PKGBUILD b/PKGBUILD
index 91c7d36c7d1b..acb4015d3ccc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ license=('Apache')
depends=('python2' 'java-runtime-headless=8')
source=("https://github.com/theotherp/nzbhydra2/releases/download/v${pkgver}/${pkgname}-${pkgver}-linux.zip"
- "https://raw.githubusercontent.com/theotherp/nzbhydra2/master/other/wrapper/nzbhydra2wrapper.py"
+ "nzbhydra2wrapper.py-${pkgver}-${pkgrel}::https://raw.githubusercontent.com/theotherp/nzbhydra2/master/other/wrapper/nzbhydra2wrapper.py"
'nzbhydra2.service'
'nzbhydra2.tmpfiles'
'nzbhydra2.sysusers')
@@ -24,7 +24,7 @@ sha256sums=('031c93c71d4f8d1bf7f7bb7eb91e29f46b4b503467e55db5d298f0e31da9ad4f'
package() {
install -d -m 755 "${pkgdir}/usr/lib/nzbhydra2"
cp -dpr --no-preserve=ownership "${srcdir}/lib" "${srcdir}/readme.md" "${pkgdir}/usr/lib/nzbhydra2"
- install -D -m 755 "${srcdir}/nzbhydra2wrapper.py" "${pkgdir}/usr/lib/nzbhydra2"
+ install -D -m 755 "${srcdir}/nzbhydra2wrapper.py-${pkgver}-${pkgrel}" "${pkgdir}/usr/lib/nzbhydra2/nzbhydra2wrapper.py"
install -D -m 755 "${srcdir}/nzbhydra2" "${pkgdir}/usr/lib/nzbhydra2"
install -D -m 644 "${srcdir}/nzbhydra2.service" "${pkgdir}/usr/lib/systemd/system/nzbhydra2.service"