diff options
author | Simon Frankenberger <simon@fraho.eu> | 2018-12-27 22:19:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-12-31 14:46:12 +0000 |
commit | 40430505ce0c33401bb5a22d73b70930a6405b77 (patch) | |
tree | 9d512e57fef7f9befaf273a549ee9bd898340c8c /main/lockfile-progs | |
parent | 0fcff74d4e6e5dbe2e714e28ad55b55c136d9680 (diff) | |
download | aports-40430505ce0c33401bb5a22d73b70930a6405b77.tar.bz2 aports-40430505ce0c33401bb5a22d73b70930a6405b77.tar.xz |
main/lockfile-progs: Update to 0.1.18
Diffstat (limited to 'main/lockfile-progs')
-rw-r--r-- | main/lockfile-progs/APKBUILD | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/main/lockfile-progs/APKBUILD b/main/lockfile-progs/APKBUILD index 46ffeb739d..c08141e83a 100644 --- a/main/lockfile-progs/APKBUILD +++ b/main/lockfile-progs/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Duane Hughes <duanejevon@gmail.com # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lockfile-progs -pkgver=0.1.17 +pkgver=0.1.18 pkgrel=0 pkgdesc="Programs for locking and unlocking files and mailboxes" url="http://packages.debian.org/sid/lockfile-progs" @@ -13,28 +13,31 @@ install= subpackages="$pkgname-doc" source="http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_$pkgver.tar.gz" -_builddir="$srcdir"/lockfile-progs-$pkgver +builddir="$srcdir"/lockfile-progs-$pkgver prepare() { - cd "$_builddir" + cd "$builddir" # allow us to verride CFLAGS by using 'CFLAGS ?= ...' instead of # 'CFLAGS := ...' in the Makefile - sed -i -e '/^CFLAGS/s/:=/?=/' Makefile || return 1 + sed -i -e '/^CFLAGS/s/:=/?=/' Makefile } build() { - cd "$_builddir" - make || return 1 + cd "$builddir" + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$_builddir" + cd "$builddir" install -d "$pkgdir"/usr/bin install -d "$pkgdir"/usr/share/man - install -m 755 "$_builddir"/bin/* "$pkgdir"/usr/bin - install -m 644 "$_builddir"/man/* "$pkgdir"/usr/share/man + install -m 755 "$builddir"/bin/* "$pkgdir"/usr/bin + install -m 644 "$builddir"/man/* "$pkgdir"/usr/share/man } -md5sums="64424a766fbc8cf6d613fcc14a096e14 lockfile-progs_0.1.17.tar.gz" -sha256sums="03fb05d25499532f497775b1747b61fa6beebf12d3bcc951e125349ae166c511 lockfile-progs_0.1.17.tar.gz" -sha512sums="9d912e1a518fe9c02054beb25c4591df6db55cc2fe9b7049fb85368465bd9ced9660bb0a809ee60a7effbdc6524613c40fa69d9d27fc2cfc964f41b7486c3596 lockfile-progs_0.1.17.tar.gz" +sha512sums="08ef12fd6d586a43b390ead013aa7401beeda68e1d681b3d168d36530e383de8f10c8f9f53fec281f02ef39290b64b0abb9f543fde7b30061204523e6e8ec6e3 lockfile-progs_0.1.18.tar.gz" |