diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-08-18 04:37:11 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-08-28 08:40:51 +0000 |
commit | c0c37e8b26da2f5355b11fc770c380196b0df11f (patch) | |
tree | 090a3f867edef1e6d79506b6dc652c7a04caa5b5 /community/cpio | |
parent | bab25f85afa775c88a52bec0d93abb645de3298f (diff) | |
download | aports-c0c37e8b26da2f5355b11fc770c380196b0df11f.tar.bz2 aports-c0c37e8b26da2f5355b11fc770c380196b0df11f.tar.xz |
community/cpio: modernise, add test suite
Diffstat (limited to 'community/cpio')
-rw-r--r-- | community/cpio/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/community/cpio/APKBUILD b/community/cpio/APKBUILD index 01406169de..16e6985461 100644 --- a/community/cpio/APKBUILD +++ b/community/cpio/APKBUILD @@ -2,12 +2,12 @@ # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=cpio pkgver=2.12 -pkgrel=1 +pkgrel=2 pkgdesc="A tool to copy files into or out of a cpio or tar archive" url="http://www.gnu.org/software/cpio" arch="all" license="GPL" -depends="tar" +depends="" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.bz2::http://ftp.snt.utwente.nl/pub/software/gnu/cpio/$pkgname-$pkgver.tar.bz2" @@ -22,9 +22,14 @@ build() { make } +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install rm -f "$pkgdir"/usr/lib/charset.alias rm -f "$pkgdir"/usr/libexec/rmt # part of the tar pkg rm "$pkgdir"/usr/share/man/*/rmt.* |