Date: Tuesday, May 2, 2023 @ 08:31:27 Author: tpowa Revision: 476326 archrelease: copy trunk to testing-x86_64
Added: cpio/repos/testing-x86_64/ cpio/repos/testing-x86_64/PKGBUILD (from rev 476325, cpio/trunk/PKGBUILD) cpio/repos/testing-x86_64/keys/ ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: cpio/repos/testing-x86_64/PKGBUILD (from rev 476325, cpio/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2023-05-02 08:31:27 UTC (rev 476326) @@ -0,0 +1,35 @@ +# Maintainer: judd <jvi...@zeroflux.org> +pkgname=cpio +pkgver=2.14 +pkgrel=1 +pkgdesc="A tool to copy files into or out of a cpio or tar archive" +arch=(x86_64) +license=('GPL') +url="https://www.gnu.org/software/cpio" +depends=('glibc') +source=(https://ftp.gnu.org/gnu/cpio/cpio-${pkgver}.tar.gz{,.sig}) +sha256sums=('145a340fd9d55f0b84779a44a12d5f79d77c99663967f8cfa168d7905ca52454' + 'SKIP') +validpgpkeys=('325F650C4C2B6AD58807327A3602B07F55D0C732') # Sergey Poznyakoff <g...@gnu.org> + +build() { + cd ${pkgname}-${pkgver} + CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + rm -f "${pkgdir}/usr/bin/mt" "${pkgdir}/pkg/usr/share/man/man1/mt.1" + rm -rf "${pkgdir}/usr/libexec" + rm -f "${pkgdir}/usr/share/man/man8/rmt.8" + # remove infodir + rm "$pkgdir/usr/share/info/dir" +}