diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-04-24 13:34:52 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-04-24 13:36:14 +0300 |
commit | b6f100fa81fbd46d20611bf7c92171a8e6955c86 (patch) | |
tree | 3ad67245ebe628d9466a635a58567606ad784870 /main/libedit | |
parent | b2ce9658e78306471337777ad115ad9396bc4a4e (diff) | |
download | aports-b6f100fa81fbd46d20611bf7c92171a8e6955c86.tar.bz2 aports-b6f100fa81fbd46d20611bf7c92171a8e6955c86.tar.xz |
main/libedit: upgrade to 20170329.3.1, modernize aport
Diffstat (limited to 'main/libedit')
-rw-r--r-- | main/libedit/APKBUILD | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/main/libedit/APKBUILD b/main/libedit/APKBUILD index eb8fea89ec..6b8e00b4f5 100644 --- a/main/libedit/APKBUILD +++ b/main/libedit/APKBUILD @@ -1,9 +1,9 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=libedit -pkgver=20150325.3.1 +pkgver=20170329.3.1 _ver=${pkgver/./-} -pkgrel=3 +pkgrel=0 pkgdesc="netbsd line editing library" url="http://www.thrysoee.dk/editline/" arch="all" @@ -15,19 +15,10 @@ install="" subpackages="$pkgname-dev $pkgname-doc" source="http://www.thrysoee.dk/editline/libedit-$_ver.tar.gz" -_builddir="$srcdir"/libedit-$_ver -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"/libedit-$_ver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,16 +26,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="43cdb5df3061d78b5e9d59109871b4f6 libedit-20150325-3.1.tar.gz" -sha256sums="c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5 libedit-20150325-3.1.tar.gz" -sha512sums="03221f3de844a7768764b3ebf80bc3110a13699f452609ba351c134e4225fc7d9e826522c672e925a7f6183094b3f3dbf489f197ddd44e6b1ea5fed762aed07d libedit-20150325-3.1.tar.gz" +sha512sums="597ed2282240be6dc3c4a7bb8b4ade31fe16ebfeb2229e3aec58643a65882653cc91deb300343d1b1cc588959dbf95698122c4005e47dfb947efa3e6b134bb82 libedit-20170329-3.1.tar.gz" |