diff options
author | Timothy Legge <timlegge@gmail.com> | 2019-05-26 22:22:22 +0000 |
---|---|---|
committer | TBK <tbk@jjtc.eu> | 2019-05-27 02:02:41 +0200 |
commit | 789e4033ce8fe2b0788145f8a9bcbb18a4e274e2 (patch) | |
tree | 6498471e4133bb1ea632919840950cdbfdaf5219 /testing/perl-crypt-passwdmd5 | |
parent | d95fe320a65d61daec37e2872ddb3dce852cee00 (diff) | |
download | aports-789e4033ce8fe2b0788145f8a9bcbb18a4e274e2.tar.bz2 aports-789e4033ce8fe2b0788145f8a9bcbb18a4e274e2.tar.xz |
testing/perl-crypt-passwdmd5: modernize, fix license
Closes: GH-8170
Diffstat (limited to 'testing/perl-crypt-passwdmd5')
-rw-r--r-- | testing/perl-crypt-passwdmd5/APKBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/testing/perl-crypt-passwdmd5/APKBUILD b/testing/perl-crypt-passwdmd5/APKBUILD index cfa717fef6..2cc571d372 100644 --- a/testing/perl-crypt-passwdmd5/APKBUILD +++ b/testing/perl-crypt-passwdmd5/APKBUILD @@ -4,30 +4,27 @@ pkgname=perl-crypt-passwdmd5 _pkgreal=Crypt-PasswdMD5 pkgver=1.40 -pkgrel=0 +pkgrel=1 pkgdesc="Provide interoperable MD5-based crypt() functions" url="https://metacpan.org/release/Crypt-PasswdMD5/" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later Artistic-1.0-Perl" makedepends="perl-dev perl-module-build" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RS/RSAVAGE/Crypt-PasswdMD5-$pkgver.tgz" builddir="$srcdir/$_pkgreal-$pkgver" build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') perl Build.PL installdirs=vendor ./Build } check() { - cd "$builddir" ./Build test } package() { - cd "$builddir" ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |