[arch-commits] Commit in strip-nondeterminism/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Aug 1 12:25:18 UTC 2018


    Date: Wednesday, August 1, 2018 @ 12:25:17
  Author: foutrelis
Revision: 366777

archrelease: copy trunk to community-staging-any

Added:
  strip-nondeterminism/repos/community-staging-any/
  strip-nondeterminism/repos/community-staging-any/PKGBUILD
    (from rev 366776, strip-nondeterminism/trunk/PKGBUILD)

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Copied: strip-nondeterminism/repos/community-staging-any/PKGBUILD (from rev 366776, strip-nondeterminism/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-08-01 12:25:17 UTC (rev 366777)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=strip-nondeterminism
+_gitcommit=44531930caaebfbb56700a117c5de28c9d55f17e
+pkgver=0.041
+pkgrel=3
+pkgdesc='Tool for stripping bits of non-deterministic information from files'
+url='https://salsa.debian.org/reproducible-builds/strip-nondeterminism'
+arch=('any')
+license=('GPL3')
+depends=("perl" 'perl-archive-zip' 'perl-archive-cpio')
+makedepends=('git')
+options=('!emptydirs')
+source=(${pkgname}::"git+https://salsa.debian.org/reproducible-builds/strip-nondeterminism.git#commit=${_gitcommit}")
+sha512sums=('SKIP')
+validpgpkeys=('C2FE4BD271C139B86C533E461E953E27D4311E58'  # Chris Lamb <lamby at debian.org>
+              'EF5D84C1838F2EB6D8968C0410378EFC2080080C'  # Andrew Ayer <agwa at andrewayer.name>
+              '2F5DAF3FC1F793D94F3D900CA721DA055374AA4F'  # Reiner Herrmann <reiner at reiner-h.de>
+              '66AE2B4AFCCF3F52DA184D184B043FCDB9444540') # Mattia Rizzolo <mattia at debian.org>
+
+pkgver() {
+  cd ${pkgname}
+  git describe --always | sed 's/^v//;s/-/./g'
+}
+
+prepare() {
+  cd ${pkgname}
+  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:



More information about the arch-commits mailing list