summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-25 22:30:44 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-25 22:30:44 +0000
commit8bcef6ec671cc413803fa21fbdef816424aa65f1 (patch)
tree42dcda5188553bd14535ca32575e45ce34ccda38 /system
parentec2631cd8261b9877c1a37047624db39ef5431b5 (diff)
downloadpackages-8bcef6ec671cc413803fa21fbdef816424aa65f1.tar.gz
packages-8bcef6ec671cc413803fa21fbdef816424aa65f1.tar.bz2
packages-8bcef6ec671cc413803fa21fbdef816424aa65f1.tar.xz
packages-8bcef6ec671cc413803fa21fbdef816424aa65f1.zip
system/heirloom-pax: stuff cpio in /usr/5bin for POSIX compat only
Diffstat (limited to 'system')
-rw-r--r--system/heirloom-pax/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/heirloom-pax/APKBUILD b/system/heirloom-pax/APKBUILD
index 3ccb03460..af918e06f 100644
--- a/system/heirloom-pax/APKBUILD
+++ b/system/heirloom-pax/APKBUILD
@@ -2,15 +2,15 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=heirloom-pax
pkgver=1.0
-pkgrel=0
+pkgrel=1
pkgdesc="Portable Archive eXchange, the POSIX archival tool"
url="http://heirloom.sourceforge.net/"
arch="all"
options="!check" # No test suite.
license="Zlib"
-depends="!libarchive<3.3.2-r3"
-replaces="pax"
+depends=""
makedepends="bsd-compat-headers bzip2-dev zlib-dev"
+replaces="pax"
subpackages="$pkgname-doc"
source="https://distfiles.adelielinux.org/source/${pkgname}-$pkgver.tar.xz"
@@ -26,7 +26,9 @@ package() {
mkdir -p "$pkgdir"/usr/5bin
mkdir -p "$pkgdir"/usr/share/man/man1
make install ROOT="$pkgdir"
- rm -r "$pkgdir"/usr/5bin # we don't need 1992 spec pax
+ rm "$pkgdir"/usr/5bin/pax # we don't need 1992 spec pax
+ # don't conflict with BSD cpio, which is needed for dracut
+ mv "$pkgdir"/usr/bin/cpio "$pkgdir"/usr/5bin/cpio
}
sha512sums="7b0ad20cc51b5bcec9c07e84c603e4891f636944f6f6bd13d3decb0e9d6b23d6164b663468ee2293b37721aae20334774f4e56fd8541ffceee934050e819b642 heirloom-pax-1.0.tar.xz"