diff options
Diffstat (limited to 'testing/outils')
-rw-r--r-- | testing/outils/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/outils/APKBUILD b/testing/outils/APKBUILD index 1af1b4c208..77a7108285 100644 --- a/testing/outils/APKBUILD +++ b/testing/outils/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> pkgname=outils pkgver=0.2 -pkgrel=1 +pkgrel=2 pkgdesc="Port of some non-standard OpenBSD tools to Linux" url="https://github.com/chneukirchen/outils" arch="all" @@ -27,13 +27,17 @@ prepare() { } build() { - cd "$_builddir" - make CC="$CC" CFLAGS="$CFLAGS" || return 1 + make CC="$CC" CFLAGS="$CFLAGS" \ + -C "$_builddir" || return 1 } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install \ + -C "$_builddir" || return 1 + + # Don't conflict with main/coreutils + rm -f "$pkgdir"/usr/bin/cksum || return 1 + rm -f "$pkgdir"/usr/share/man/man1/cksum.1 || return 1 } md5sums="9b4be449ff568baedc3d3aac4dfaf6e0 outils-0.2.tar.gz |