pax: fix $wrksrc usage.

This commit is contained in:
Christian Neukirchen 2015-04-13 11:33:34 +02:00
parent 6493726ffb
commit fe0edbf5ef

View file

@ -1,8 +1,10 @@
# Template file for 'pax' # Template file for 'pax'
pkgname=pax pkgname=pax
version=20140703 version=20140703
revision=2 revision=3
wrksrc=paxmirabilis-${version}/${pkgname} wrksrc=paxmirabilis-${version}
build_wrksrc=${pkgname}
build_pie=yes
hostmakedepends="cpio bmake groff" hostmakedepends="cpio bmake groff"
short_desc="pax archiver from MirOS (plus tar and cpio)" short_desc="pax archiver from MirOS (plus tar and cpio)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>" maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
@ -12,7 +14,6 @@ distfiles="https://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-${version}.cp
checksum=f464f143f81ff95097eb76e8e7bd9007a3101cbe481a89b09e69bf00e7c95fed checksum=f464f143f81ff95097eb76e8e7bd9007a3101cbe481a89b09e69bf00e7c95fed
do_extract() { do_extract() {
cd ..
zcat ${XBPS_SRCDISTDIR}/${pkgname}-${version}/paxmirabilis-${version}.cpio.gz | cpio -mid zcat ${XBPS_SRCDISTDIR}/${pkgname}-${version}/paxmirabilis-${version}.cpio.gz | cpio -mid
} }