Mail archive
alpine-aports

[alpine-aports] [PATCH 1/9] main/skalibs: upgrade to 2.5.0.0

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

---
 main/skalibs/APKBUILD | 42 +++++++++++++-----------------------------
 1 file changed, 13 insertions(+), 29 deletions(-)
diff --git a/main/skalibs/APKBUILD b/main/skalibs/APKBUILD
index 5540382d78..cce22fa976 100644
--- a/main/skalibs/APKBUILD
+++ b/main/skalibs/APKBUILD
_at_@ -1,59 +1,43 @@
 # Maintainer: Laurent Bercot <ska-devel_at_skarnet.org>
 # Contributor: John Regan <john_at_jrjrtech.com>
 pkgname=skalibs
-pkgver=2.4.0.2
+pkgver=2.5.0.0
 pkgrel=0
 pkgdesc="A set of general-purpose C programming libraries for skarnet.org software."
 url="http://skarnet.org/software/skalibs/"
 arch="all"
 license="ISC"
-depends=""
-depends_dev=""
-makedepends=""
-install=""
+options="!check"
 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 \
 		--libdir=/usr/lib \
-                --enable-clock \
-		|| return 1
-	make || return 1
+                --enable-clock
+	make
 }
 
 package() {
-	cd "$_builddir"
-	make DESTDIR="$pkgdir" install || return 1
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
 }
 
 dev() {
 	default_dev
-	cd "$subpkgdir"
-	mv -f "$pkgdir/usr/lib/$pkgname"/sysdeps/* "usr/lib/$pkgname/sysdeps/"
-	rm -rf "$pkgdir/usr"
+	mv "$pkgdir/usr/lib/$pkgname"/sysdeps/* \
+		"$subpkgdir/usr/lib/$pkgname"/sysdeps/
+	rm -rf "$pkgdir"/usr
 }
 
 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="edcd88590288cdd0fc8dbd417e0d49e9  skalibs-2.4.0.2.tar.gz"
-sha256sums="0708172bc2ec9825f8a4f312d35f8dcd94da5f291425a598c33c873b3de77df8  skalibs-2.4.0.2.tar.gz"
-sha512sums="1a60ff7bf2364cfe56dc5847321dad4eaa3942be90555a405c4c6c6fff287e197621796624cd52030f4373665ef53d4f7cd5832e8492ecf1d75c82544a4c8f2e  skalibs-2.4.0.2.tar.gz"
+sha512sums="fe96cb0a128dc5060c74dca1ac96df96bf1f9383229ef283b7b23b98c7910137f3ca25ecd7cf91446a7f6d1ce7bb6a36e346c45c6d5723f73eea008626a3792e  skalibs-2.5.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:01 UTC