diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2019-11-08 09:57:07 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2019-11-08 10:16:01 +0100 |
commit | ce7d1af13a73d2830e0495a78da963ffe3b141ce (patch) | |
tree | dbd176d977901d7bc9d5e09755765aad06eb9b78 /community/knot-resolver | |
parent | 2e4eb49974d9e55f1fd37aead2e0cef9e1a648fe (diff) | |
download | aports-ce7d1af13a73d2830e0495a78da963ffe3b141ce.tar.bz2 aports-ce7d1af13a73d2830e0495a78da963ffe3b141ce.tar.xz |
community/knot-resolver: various code-style improvements
Diffstat (limited to 'community/knot-resolver')
-rw-r--r-- | community/knot-resolver/APKBUILD | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/community/knot-resolver/APKBUILD b/community/knot-resolver/APKBUILD index 05e9ab6f78..32e35137a8 100644 --- a/community/knot-resolver/APKBUILD +++ b/community/knot-resolver/APKBUILD @@ -1,13 +1,12 @@ # Contributor: Jakub Jirutka <jakub@jirutka.cz> # Contributor: tcely <knot-resolver+aports@tcely.33mail.com> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> -pkgname="knot-resolver" -pkgver="4.2.2" +pkgname=knot-resolver +pkgver=4.2.2 pkgrel=1 pkgdesc="Minimalistic caching DNS resolver implementation" url="https://www.knot-resolver.cz/" -# luajit is not available for disabled architectures -arch="all !s390x" +arch="all !s390x" # limited by luajit license="GPL-3.0" pkgusers="kresd" pkggroups="kresd" @@ -19,9 +18,15 @@ depends_static="$pkgname-dev" makedepends="$depends_dev bash cmake gnutls-dev luacheck meson>=0.46 ninja pkgconf py3-flake8" 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/$pkgname/$pkgname-$pkgver.tar.xz +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/$pkgname/$pkgname-$pkgver.tar.xz $pkgname.logrotate $pkgname.confd $pkgname.initd @@ -71,8 +76,7 @@ http() { pkgdesc="Knot Resolver - HTTP/2 services" depends="$_depends_http" - local moddir - moddir="usr/lib/$pkgname/kres_modules" + local moddir="usr/lib/$pkgname/kres_modules" mkdir -p "$subpkgdir"/$moddir mv "$pkgdir"/$moddir/http* "$subpkgdir"/$moddir/ @@ -82,8 +86,7 @@ dnstap() { pkgdesc="Knot Resolver - dnstap logging" depends="$_depends_dnstap" - local moddir - moddir="usr/lib/$pkgname/kres_modules" + local moddir="usr/lib/$pkgname/kres_modules" mkdir -p "$subpkgdir"/$moddir mv "$pkgdir"/$moddir/dnstap.so "$subpkgdir"/$moddir/ |