summaryrefslogtreecommitdiff
path: root/extra/cpio
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-09 23:14:54 +0000
committerroot <root@rshg054.dnsready.net>2012-02-09 23:14:54 +0000
commit4bc61018eec54dbe50e7556ce01d2ef2859b2c9f (patch)
tree3ea5705a573fd320639395f484fc12335e0a1b88 /extra/cpio
parent54b7119c36756b86ea463649ee972cd6c1ce5863 (diff)
Thu Feb 9 23:14:54 UTC 2012
Diffstat (limited to 'extra/cpio')
-rw-r--r--extra/cpio/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/extra/cpio/PKGBUILD b/extra/cpio/PKGBUILD
index 9f34c4500..959cb23dd 100644
--- a/extra/cpio/PKGBUILD
+++ b/extra/cpio/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 76085 2010-04-07 18:00:10Z tpowa $
+# $Id: PKGBUILD 149526 2012-02-08 11:43:48Z tpowa $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=cpio
pkgver=2.11
-pkgrel=2
+pkgrel=3
pkgdesc="A tool to copy files into or out of a cpio or tar archive"
arch=(i686 x86_64)
license=('GPL')
@@ -15,7 +15,11 @@ md5sums=('1112bb6c45863468b5496ba128792f6c')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man
- make || return 1
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
rm -f ${pkgdir}/usr/bin/mt ${pkgdir}/pkg/usr/share/man/man1/mt.1
mv ${pkgdir}/usr/bin ${pkgdir}/bin