Skip to content
Snippets Groups Projects
Commit c0c37e8b authored by A. Wilcox's avatar A. Wilcox Committed by Timo Teräs
Browse files

community/cpio: modernise, add test suite

parent bab25f85
No related branches found
No related tags found
No related merge requests found
......@@ -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.*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment