| author | Tobias Powalowski
<tpowa@archlinux.org> 2012-02-08 11:43:27 UTC |
| committer | Tobias Powalowski
<tpowa@archlinux.org> 2012-02-08 11:43:27 UTC |
| parent | 6adf59c8c1cf91df06080a9396287b102db0ec00 |
| PKGBUILD | +6 | -2 |
diff --git a/PKGBUILD b/PKGBUILD index 9667a09..2b39280 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # 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') @@ -14,7 +14,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