diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-11-08 09:52:06 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-11-08 10:16:01 +0100 |
commit | 2dc2bc72a405d2f6014b7349ef5be2f99b011fc8 (patch) | |
tree | f73f08397db3c19591b6872a2c82cd778a4d879b /community/knot-resolver | |
parent | 8989e9d665e41093b6f80085e97f698749a91c28 (diff) | |
download | aports-2dc2bc72a405d2f6014b7349ef5be2f99b011fc8.tar.bz2 aports-2dc2bc72a405d2f6014b7349ef5be2f99b011fc8.tar.xz |
community/knot-resolver: remove redundant variable _upstream
Diffstat (limited to 'community/knot-resolver')
-rw-r--r-- | community/knot-resolver/APKBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/community/knot-resolver/APKBUILD b/community/knot-resolver/APKBUILD index 71181359df..c5593d61e3 100644 --- a/community/knot-resolver/APKBUILD +++ b/community/knot-resolver/APKBUILD @@ -1,8 +1,7 @@ # Contributor: Jakub Jirutka <jakub@jirutka.cz> # Contributor: tcely <knot-resolver+aports@tcely.33mail.com> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> -_upstream="knot-resolver" -pkgname="${_upstream}" +pkgname="knot-resolver" pkgver="4.2.2" pkgrel=1 pkgdesc="Minimalistic caching DNS resolver implementation" @@ -22,12 +21,12 @@ checkdepends="cmocka-dev" install="$pkgname.pre-install" subpackages="$pkgname-mod-http:http:noarch $pkgname-mod-dnstap:dnstap $pkgname-libs-static $pkgname-dev $pkgname-doc $pkgname-openrc" source=" - https://secure.nic.cz/files/${_upstream}/${_upstream}-$pkgver.tar.xz + https://secure.nic.cz/files/${pkgname}/${pkgname}-$pkgver.tar.xz ${pkgname}.logrotate ${pkgname}.confd ${pkgname}.initd " -builddir="${srcdir}/${_upstream}-${pkgver}" +builddir="${srcdir}/${pkgname}-${pkgver}" # secfixes: # 4.1.0-r0: @@ -73,7 +72,7 @@ http() { depends="$_depends_http" local moddir - moddir="usr/lib/${_upstream}/kres_modules" + moddir="usr/lib/${pkgname}/kres_modules" mkdir -p "$subpkgdir"/$moddir mv "$pkgdir"/$moddir/http* "$subpkgdir"/$moddir/ @@ -84,7 +83,7 @@ dnstap() { depends="$_depends_dnstap" local moddir - moddir="usr/lib/${_upstream}/kres_modules" + moddir="usr/lib/${pkgname}/kres_modules" mkdir -p "$subpkgdir"/$moddir mv "$pkgdir"/$moddir/dnstap.so "$subpkgdir"/$moddir/ |