Mail archive
alpine-aports

[alpine-aports] [PATCH] main/pcre: Upgrade to 8.40. Modernize APKBUILD.

From: Przemyslaw Pawelczyk <przemoc_at_zoho.com>
Date: Sat, 14 Jan 2017 01:59:29 +0100

---
 main/pcre/APKBUILD | 24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)
diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD
index d706dbab07d1..02c8f09cde8b 100644
--- a/main/pcre/APKBUILD
+++ b/main/pcre/APKBUILD
_at_@ -1,30 +1,20 @@
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=pcre
-pkgver=8.39
+pkgver=8.40
 pkgrel=0
 pkgdesc="Perl-compatible regular expression library"
 url="http://pcre.sourceforge.net"
 arch="all"
 license="BSD"
-depends=
-makedepends=""
 subpackages="$pkgname-dev $pkgname-doc $pkgname-tools
 	libpcrecpp libpcre16 libpcre32"
 source="ftp://ftp.csx.cam.ac.uk/pub/software/programming/$pkgname/$pkgname-$pkgver.tar.bz2
 	"
 
-_builddir="$srcdir/$pkgname-$pkgver"
-prepare() {
-	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 \
 		--build=$CBUILD \
 		--host=$CHOST \
_at_@ -44,7 +34,7 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make DESTDIR="$pkgdir" install || return 1
 }
 
_at_@ -72,6 +62,6 @@ tools() {
 	mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
 }
 
-md5sums="e3fca7650a0556a2647821679d81f585  pcre-8.39.tar.bz2"
-sha256sums="b858099f82483031ee02092711689e7245586ada49e534a06e678b8ea9549e8b  pcre-8.39.tar.bz2"
-sha512sums="8b0f14ae5947c4b2d74876a795b04e532fd71c2479a64dbe0ed817e7c7894ea3cae533413de8c17322d305cb7f4e275d72b43e4e828eaca77dc4bcaf04529cf6  pcre-8.39.tar.bz2"
+md5sums="41a842bf7dcecd6634219336e2167d1d  pcre-8.40.tar.bz2"
+sha256sums="00e27a29ead4267e3de8111fcaa59b132d0533cdfdbdddf4b0604279acbcf4f4  pcre-8.40.tar.bz2"
+sha512sums="b4c27eafbdf33bd7a1384655b1936f4be3bc6745c072347eb26e988896c52664bd85ac42444da1be78b6e20f45b6c7e5921f5f20f5b0741b5bd3d9844e5bd4e2  pcre-8.40.tar.bz2"
-- 
2.8.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Jan 14 2017 - 01:59:29 GMT