diff options
Diffstat (limited to 'abs/core/cpio/PKGBUILD')
-rw-r--r-- | abs/core/cpio/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core/cpio/PKGBUILD b/abs/core/cpio/PKGBUILD new file mode 100644 index 0000000..9d1bbff --- /dev/null +++ b/abs/core/cpio/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: judd <jvinet@zeroflux.org> +pkgname=cpio +pkgver=2.9 +pkgrel=12 +pkgdesc="A tool to copy files into or out of a cpio or tar archive" +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') + +build() { + cd ${startdir}/src/${pkgname}-${pkgver} + patch -Np1 -i $startdir/src/cpio-2.9-gcc43.patch + ./configure --prefix=/usr --mandir=/usr/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 +} |