Mail archive
alpine-aports

[alpine-aports] [PATCH 7/9] main/s6-linux-utils: upgrade to 2.3.0.0

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

---
 main/s6-linux-utils/APKBUILD | 36 +++++++++++-------------------------
 1 file changed, 11 insertions(+), 25 deletions(-)
diff --git a/main/s6-linux-utils/APKBUILD b/main/s6-linux-utils/APKBUILD
index 14111c1609..7a9b0de889 100644
--- a/main/s6-linux-utils/APKBUILD
+++ b/main/s6-linux-utils/APKBUILD
_at_@ -1,52 +1,38 @@
 # Maintainer: Laurent Bercot <ska-devel_at_skarnet.org>
 # Contributor: Christian Kampka <christian_at_kampka.net>
 pkgname=s6-linux-utils
-pkgver=2.2.0.0
-pkgrel=1
+pkgver=2.3.0.0
+pkgrel=0
 pkgdesc="A set of tiny Linux-specific utilities optimized for simplicity and small size."
 url="http://skarnet.org/software/$pkgname/"
 arch="all"
 license="ISC"
-depends="skalibs"
+options="!check"
 makedepends="skalibs-dev linux-headers"
-install=""
 subpackages="$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 \
-		--libdir=/usr/lib \
-		|| return 1
-	make || return 1
+		--libdir=/usr/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="70b09e0d1b498cf647eea491a1969033  s6-linux-utils-2.2.0.0.tar.gz"
-sha256sums="587745abfbf2cc631bb54dd2b3fd29f39b723e3c50e28165138a85c98fda35f9  s6-linux-utils-2.2.0.0.tar.gz"
-sha512sums="5d0fcd29f7a03146b5296d7164326f76af95a8632df4204021d9ae30b1f03590e7f25d410f07639cf741a455f9624f9410b2e7836ae6838916da50be1527ae7f  s6-linux-utils-2.2.0.0.tar.gz"
+sha512sums="09e5744f6ac35d33c9c61ffc0ae6c8697e5d1816e5bd83e2dd4385d54a8f6da9c43fe2b1cb1cacba6f30a53cd7d9487a12b44028b20b110c74d6c3016d0511a1  s6-linux-utils-2.3.0.0.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:07 GMT