diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-06-30 23:25:54 +0200 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-06-30 22:01:05 +0000 |
commit | ecf76d9c76d2b6a28fb8b444ed56fbaac67b8f86 (patch) | |
tree | 89666605253b0df4b5683b6ba65596149f00e778 /main/memcached | |
parent | 981f1678ecb3502f308ae6e31c54f40a532f513b (diff) | |
download | aports-ecf76d9c76d2b6a28fb8b444ed56fbaac67b8f86.zip |
main/memcached: upgrade to 1.4.38
Modernize abuild
Diffstat (limited to 'main/memcached')
-rw-r--r-- | main/memcached/APKBUILD | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/main/memcached/APKBUILD b/main/memcached/APKBUILD index b119755faa6..22abe631336 100644 --- a/main/memcached/APKBUILD +++ b/main/memcached/APKBUILD @@ -1,15 +1,13 @@ # Contributor: Jeff Bilyk <jbilyk@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=memcached -pkgver=1.4.37 +pkgver=1.4.38 pkgrel=0 pkgdesc="Distributed memory object caching system" url="http://memcached.org" arch="all" license="BSD" -depends= -depends_dev="libevent-dev" -makedepends="$depends_dev" +makedepends="libevent-dev" install="$pkgname.pre-install" subpackages="$pkgname-dev $pkgname-doc" source="http://www.memcached.org/files/memcached-$pkgver.tar.gz @@ -22,20 +20,19 @@ build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 - install -m755 -D "$srcdir/$pkgname.initd" \ - "$pkgdir/etc/init.d/$pkgname" || return 1 + make DESTDIR="$pkgdir" install + install -m755 -D "$srcdir/$pkgname.initd" \ + "$pkgdir/etc/init.d/$pkgname" install -m644 -D "$srcdir/$pkgname.confd" \ - "$pkgdir/etc/conf.d/$pkgname" || return 1 + "$pkgdir/etc/conf.d/$pkgname" } -sha512sums="eadcb2ea3caf5946f3348c3cddc9fa4de3268589096a8fbfcb7c2867ce317390bdb91a2539353c756d214eb02ef3f0f0e71adb5dd46fd37fda4e82a59173e1b4 memcached-1.4.37.tar.gz +sha512sums="23124ce7d25567d9e56984c074b5e4876bf6f64bdc21c2e9eb71ad9826704d1b1b2b34f560a94d6aa8113ac21939031509f934f4f9e64dd7b56c7748037bd71e memcached-1.4.38.tar.gz 31bd788433b8021ed332f86d291e7f03222ae234520e52ba673b581d5da2adf5656e8f73e8b985df73258dea9b2a1b8ef36195163fe47a92fda59825deedfed4 memcached.confd 9615769b14175a25b50c9871b48c0635b5397ebe45231b43ee29a603eceb7b16bfc5ac744017b89b19082209c09597b3038a03ed0d5d9b45c60454d5b2717a55 memcached.initd" |