summaryrefslogtreecommitdiffstats
path: root/abs/core/cpio/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-24 02:51:27 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-24 02:51:27 (GMT)
commit934a530817b4a444e84d68a7679b2c94ac059c77 (patch)
tree43dabbf2a0178e8ad6ea9e869212afdd273bb87d /abs/core/cpio/PKGBUILD
parentc2d1357248bfea67ced38063ea92e938249370b5 (diff)
downloadlinhes_pkgbuild-934a530817b4a444e84d68a7679b2c94ac059c77.zip
linhes_pkgbuild-934a530817b4a444e84d68a7679b2c94ac059c77.tar.gz
linhes_pkgbuild-934a530817b4a444e84d68a7679b2c94ac059c77.tar.bz2
cpio: upgrade
Diffstat (limited to 'abs/core/cpio/PKGBUILD')
-rw-r--r--abs/core/cpio/PKGBUILD35
1 files changed, 20 insertions, 15 deletions
diff --git a/abs/core/cpio/PKGBUILD b/abs/core/cpio/PKGBUILD
index 9d1bbff..712fa3d 100644
--- a/abs/core/cpio/PKGBUILD
+++ b/abs/core/cpio/PKGBUILD
@@ -1,25 +1,30 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 76085 2010-04-07 18:00:10Z tpowa $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=cpio
-pkgver=2.9
-pkgrel=12
+pkgver=2.11
+pkgrel=2
pkgdesc="A tool to copy files into or out of a cpio or tar archive"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL')
url="http://www.gnu.org/software/cpio"
-groups=('base')
depends=('glibc')
-source=(ftp://ftp.gnu.org/gnu/cpio/cpio-${pkgver}.tar.gz \
- cpio-2.9-gcc43.patch)
-md5sums=('2bb997a33555d4dc79d45d0cdf02cedd' '214864365e72328f5a4fd822bba55d74')
+source=(ftp://ftp.gnu.org/gnu/cpio/cpio-${pkgver}.tar.gz)
+install=cpio.install
+md5sums=('1112bb6c45863468b5496ba128792f6c')
build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- patch -Np1 -i $startdir/src/cpio-2.9-gcc43.patch
- ./configure --prefix=/usr --mandir=/usr/man
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
- make DESTDIR=${startdir}/pkg install
- rm -f ${startdir}/pkg/usr/bin/mt ${startdir}/pkg/usr/man/man1/mt.1
- mv ${startdir}/pkg/usr/bin ${startdir}/pkg/bin
- rm -rf ${startdir}/pkg/usr/libexec
+}
+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
+ rm -rf ${pkgdir}/usr/libexec
+ # remove mt manpage it conflicts with mt-st from extra
+ rm $pkgdir/usr/share/man/man1/mt.1 || return 1
+ # remove infodir
+ rm $pkgdir/usr/share/info/dir
}