[arch-commits] Commit in cpio/trunk (PKGBUILD)
Tobias Powalowski
tpowa at archlinux.org
Wed Feb 8 11:43:28 UTC 2012
Date: Wednesday, February 8, 2012 @ 06:43:27
Author: tpowa
Revision: 149525
upgpkg: cpio 2.11-3
rebuild signed package
Modified:
cpio/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-08 11:38:54 UTC (rev 149524)
+++ PKGBUILD 2012-02-08 11:43:27 UTC (rev 149525)
@@ -2,7 +2,7 @@
# Maintainer: judd <jvinet at 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 @@
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
More information about the arch-commits
mailing list