[arch-commits] Commit in strip-nondeterminism/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Mar 29 22:57:55 UTC 2020
Date: Sunday, March 29, 2020 @ 22:57:55
Author: anthraxx
Revision: 606617
upgpkg: strip-nondeterminism 1.6.3-1
Modified:
strip-nondeterminism/trunk/PKGBUILD
----------+
PKGBUILD | 26 +++++++++++---------------
1 file changed, 11 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-29 22:57:49 UTC (rev 606616)
+++ PKGBUILD 2020-03-29 22:57:55 UTC (rev 606617)
@@ -1,45 +1,41 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
pkgname=strip-nondeterminism
-_gitcommit=44531930caaebfbb56700a117c5de28c9d55f17e
-pkgver=0.041
-pkgrel=4
+pkgver=1.6.3
+pkgrel=1
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')
+depends=("perl" 'perl-archive-zip' 'perl-archive-cpio' 'perl-sub-override')
makedepends=('git')
options=('!emptydirs')
-source=(${pkgname}::"git+https://salsa.debian.org/reproducible-builds/strip-nondeterminism.git#commit=${_gitcommit}")
-sha512sums=('SKIP')
+source=(https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/archive/${pkgver}/strip-nondeterminism-${pkgver}.tar.bz2
+ https://salsa.debian.org/reproducible-builds/reproducible-lfs/raw/master/releases/strip-nondeterminism/strip-nondeterminism-${pkgver}.tar.bz2.asc)
+sha512sums=('69b9ba40cd0bb1cef69b1377704a7f135d106f7b575ef5ddc55dc630bf5a71ec7e59caa943f6a124d33d77f3b8b7b7258ab937762ef5bb9127cec9f9c21ff2c5'
+ '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}
+ cd ${pkgname}-${pkgver}
sed -r 's|bin/dh_strip_nondeterminism ||g' -i Makefile.PL
}
build() {
- cd ${pkgname}
+ cd ${pkgname}-${pkgver}
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- make -C ${pkgname} test
+ make -C ${pkgname}-${pkgver} test
}
package() {
- cd ${pkgname}
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list