diff options
Diffstat (limited to 'testing/outils/APKBUILD')
-rw-r--r-- | testing/outils/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/testing/outils/APKBUILD b/testing/outils/APKBUILD index 8de674921e..c245d42af7 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.4.2 -pkgrel=0 +pkgrel=1 pkgdesc="Port of some non-standard OpenBSD tools to Linux" url="https://github.com/chneukirchen/outils" arch="all" @@ -53,13 +53,19 @@ _tool() { local name=$(echo $subpkgname | cut -d '-' -f2) pkgdesc="$name tool from $pkgname" - if [ name = "cksum" ]; then + if [ "$name" = "cksum" ]; then depends="!coreutils $depends" fi - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/$name \ - "$subpkgdir"/usr/bin/$name || return 1 + if [ "$name" = "rdate" ]; then + mkdir -p "$subpkgdir"/usr/sbin + mv "$pkgdir"/usr/bin/$name \ + "$subpkgdir"/usr/sbin/$name || return 1 + else + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/$name \ + "$subpkgdir"/usr/bin/$name || return 1 + fi rmdir "$pkgdir"/usr/bin/ 2>/dev/null || true rmdir "$pkgdir"/usr/ 2>/dev/null || true |