1 # Maintainer: judd <jvinet@zeroflux.org>
5 pkgdesc="A tool to copy files into or out of a cpio or tar archive"
8 url="https://www.gnu.org/software/cpio"
10 source=(https://ftp.gnu.org/gnu/cpio/cpio-${pkgver}.tar.gz{,.sig})
11 md5sums=('389c5452d667c23b5eceb206f5000810'
13 validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff <gray@gnu.org>
16 cd ${pkgname}-${pkgver}
17 CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
18 ./configure --prefix=/usr --mandir=/usr/share/man
23 cd ${pkgname}-${pkgver}
28 cd ${pkgname}-${pkgver}
29 make DESTDIR="${pkgdir}" install
30 rm -f "${pkgdir}/usr/bin/mt" "${pkgdir}/pkg/usr/share/man/man1/mt.1"
31 rm -rf "${pkgdir}/usr/libexec"
32 rm -f "${pkgdir}/usr/share/man/man8/rmt.8"
34 rm "$pkgdir/usr/share/info/dir"