Mail archive
alpine-aports

[alpine-aports] [PATCH 5/9] main/s6-dns: upgrade to 2.2.0.0

From: Ivan Tham <pickfire_at_riseup.net>
Date: Tue, 28 Mar 2017 17:29:05 +0800

---
 main/s6-dns/APKBUILD        | 36 +++++++++++-------------------------
 main/s6-linux-init/APKBUILD |  1 +
 2 files changed, 12 insertions(+), 25 deletions(-)
diff --git a/main/s6-dns/APKBUILD b/main/s6-dns/APKBUILD
index 3a5b0b541d..bd4cdf62fd 100644
--- a/main/s6-dns/APKBUILD
+++ b/main/s6-dns/APKBUILD
_at_@ -1,54 +1,40 @@
 # Maintainer: Laurent Bercot <ska-devel_at_skarnet.org>
 # Contributor: John Regan <john_at_jrjrtech.com>
 pkgname=s6-dns
-pkgver=2.1.0.0
-pkgrel=1
+pkgver=2.2.0.0
+pkgrel=0
 pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities"
 url="http://skarnet.org/software/$pkgname/"
 arch="all"
 license="ISC"
 depends="skalibs"
-depends_dev="skalibs-dev"
+options="!check"
 makedepends="skalibs-dev"
-install=""
 subpackages="$pkgname-dev $pkgname-doc"
 source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
-	local i
-	cd "$_builddir"
-	for i in $source; do
-		case $i in
-		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
-		esac
-	done
-}
+builddir="$srcdir/"$pkgname-$pkgver
 
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	./configure \
 		--enable-shared \
 		--enable-static \
 		--disable-allstatic \
 		--prefix=/usr \
 		--libexecdir="/usr/lib/$package" \
-		--with-dynlib=/lib \
-		|| return 1
-	make || return 1
+		--with-dynlib=/lib
+	make
 }
 
 package() {
-	cd "$_builddir"
-	make DESTDIR="$pkgdir" install || return 1
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
 }
 
 doc() {
 	default_doc
 	mkdir -p "$subpkgdir/usr/share/doc"
-	cp -a "$_builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
+	cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
 }
 
-md5sums="400d1115f249bc64c9f0a0fb43d07906  s6-dns-2.1.0.0.tar.gz"
-sha256sums="8455f3b1edad8f01a1340cb1242c141755729bfd5d71059739eced5c006539ad  s6-dns-2.1.0.0.tar.gz"
-sha512sums="c75722b3ddd9d1646116654983558efde22d0d5d3ff1c296a8d5e2ba44abe0d5a86fc86804cf90bea2ee8c3e82028e182d28cdbf5155d46c6b3d8f4d1c3387fc  s6-dns-2.1.0.0.tar.gz"
+sha512sums="55cc0a4e677a28d5ebeeab1f995ee8d03c6aaa0c839ad420e006468c0712f45e638a3d32e082a34e09098d20c3bb08496afcefbec4c58f7674017e22732b1cda  s6-dns-2.2.0.0.tar.gz"
diff --git a/main/s6-linux-init/APKBUILD b/main/s6-linux-init/APKBUILD
index 55250660d4..ac4b926e10 100644
--- a/main/s6-linux-init/APKBUILD
+++ b/main/s6-linux-init/APKBUILD
_at_@ -7,6 +7,7 @@ pkgdesc="A set of tools to create and run an s6-based init system."
 url="http://skarnet.org/software/$pkgname/"
 arch="all"
 license="ISC"
+options="!check"
 makedepends="skalibs-dev"
 subpackages="$pkgname-dev $pkgname-doc"
 source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
-- 
2.12.2.609.gf7d0c115f
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 28 2017 - 17:29:05 GMT