mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
718 B
Bash
25 lines
718 B
Bash
# Maintainer: judd <jvinet@zeroflux.org>
|
|
|
|
pkgname=cpio
|
|
pkgver=2.10
|
|
pkgrel=1
|
|
pkgdesc="A tool to copy files into or out of a cpio or tar archive"
|
|
arch=('arm')
|
|
license=('GPL')
|
|
url="http://www.gnu.org/software/cpio"
|
|
groups=('base')
|
|
depends=('glibc')
|
|
source=(ftp://ftp.gnu.org/gnu/cpio/cpio-${pkgver}.tar.gz)
|
|
md5sums=('351ab3d38d8949913e478cc23b9d6ad4')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --mandir=/usr/share/man
|
|
make || return 1
|
|
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
|
|
rm $pkgdir/usr/share/man/man1/mt.1 || return 1
|
|
rm $pkgdir/usr/share/info/dir
|
|
}
|