diff options
author | Timothy Legge <timlegge@gmail.com> | 2019-05-26 22:35:29 +0000 |
---|---|---|
committer | TBK <tbk@jjtc.eu> | 2019-05-27 02:02:41 +0200 |
commit | ef016d2c5e49574f08404432612aa2c9ee3cde26 (patch) | |
tree | a94ce048a82b6f36fe1eb10139578faa9769d6a8 /testing/perl-gssapi/APKBUILD | |
parent | 742e8c518932d240130308af91cc291155fc338b (diff) | |
download | aports-ef016d2c5e49574f08404432612aa2c9ee3cde26.tar.bz2 aports-ef016d2c5e49574f08404432612aa2c9ee3cde26.tar.xz |
testing/perl-gssapi: modernize, fix license
Closes: GH-8170
Diffstat (limited to 'testing/perl-gssapi/APKBUILD')
-rw-r--r-- | testing/perl-gssapi/APKBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/testing/perl-gssapi/APKBUILD b/testing/perl-gssapi/APKBUILD index ad5934951d..85134820b6 100644 --- a/testing/perl-gssapi/APKBUILD +++ b/testing/perl-gssapi/APKBUILD @@ -4,31 +4,28 @@ pkgname=perl-gssapi _pkgreal=GSSAPI pkgver=0.28 -pkgrel=1 +pkgrel=2 pkgdesc="Perl module for GSSAPI" url="https://metacpan.org/release/GSSAPI/" arch="all" -license="GPL PerlArtistic" +license="GPL-1.0-or-later Artistic-1.0-Perl" makedepends="perl-dev krb5-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/A/AG/AGROLMS/GSSAPI-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor make } check() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } |