Date: Friday, August 4, 2017 @ 11:31:05 Author: anthraxx Revision: 248296
archrelease: copy trunk to community-any Added: strip-nondeterminism/repos/community-any/PKGBUILD (from rev 248295, strip-nondeterminism/trunk/PKGBUILD) Deleted: strip-nondeterminism/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 48 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-08-04 11:31:00 UTC (rev 248295) +++ PKGBUILD 2017-08-04 11:31:05 UTC (rev 248296) @@ -1,42 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=strip-nondeterminism -pkgver=0.034 -pkgrel=2 -pkgdesc='Tool for stripping bits of non-deterministic information from files' -url='https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git' -arch=('any') -license=('GPL3') -depends=("perl" 'perl-archive-zip') -makedepends=('git') -options=('!emptydirs') -source=(${pkgname}::"git+https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git#tag=${pkgver}") -sha512sums=('SKIP') -validpgpkeys=('C2FE4BD271C139B86C533E461E953E27D4311E58' # Chris Lamb <la...@debian.org> - 'EF5D84C1838F2EB6D8968C0410378EFC2080080C' # Andrew Ayer <a...@andrewayer.name> - '2F5DAF3FC1F793D94F3D900CA721DA055374AA4F' # Reiner Herrmann <rei...@reiner-h.de> - '66AE2B4AFCCF3F52DA184D184B043FCDB9444540') # Mattia Rizzolo <mat...@debian.org> - -prepare() { - cd ${pkgname} - git tag --verify ${pkgver} - sed -r 's|bin/dh_strip_nondeterminism ||g' -i Makefile.PL -} - -build() { - cd ${pkgname} - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor - make -} - -check() { - make -C ${pkgname} test -} - -package() { - cd ${pkgname} - make DESTDIR="${pkgdir}" install - install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README" -} - -# vim: ts=2 sw=2 et: Copied: strip-nondeterminism/repos/community-any/PKGBUILD (from rev 248295, strip-nondeterminism/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-08-04 11:31:05 UTC (rev 248296) @@ -0,0 +1,48 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=strip-nondeterminism +_gitcommit=c029482e1bd34aff15371bb2a2ee7b9dc207afe2 +pkgver=0.038 +pkgrel=1 +pkgdesc='Tool for stripping bits of non-deterministic information from files' +url='https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git' +arch=('any') +license=('GPL3') +depends=("perl" 'perl-archive-zip' 'perl-archive-cpio') +makedepends=('git') +options=('!emptydirs') +source=(${pkgname}::"git+https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git#commit=${_gitcommit}") +sha512sums=('SKIP') +validpgpkeys=('C2FE4BD271C139B86C533E461E953E27D4311E58' # Chris Lamb <la...@debian.org> + 'EF5D84C1838F2EB6D8968C0410378EFC2080080C' # Andrew Ayer <a...@andrewayer.name> + '2F5DAF3FC1F793D94F3D900CA721DA055374AA4F' # Reiner Herrmann <rei...@reiner-h.de> + '66AE2B4AFCCF3F52DA184D184B043FCDB9444540') # Mattia Rizzolo <mat...@debian.org> + +pkgver() { + cd ${pkgname} + git describe --always | sed 's/^v//;s/-/./g' +} + +prepare() { + cd ${pkgname} + git tag --verify ${pkgver} + sed -r 's|bin/dh_strip_nondeterminism ||g' -i Makefile.PL +} + +build() { + cd ${pkgname} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make -C ${pkgname} test +} + +package() { + cd ${pkgname} + make DESTDIR="${pkgdir}" install + install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: