aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-gssapi/APKBUILD
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2019-05-26 22:35:29 +0000
committerTBK <tbk@jjtc.eu>2019-05-27 02:02:41 +0200
commitef016d2c5e49574f08404432612aa2c9ee3cde26 (patch)
treea94ce048a82b6f36fe1eb10139578faa9769d6a8 /testing/perl-gssapi/APKBUILD
parent742e8c518932d240130308af91cc291155fc338b (diff)
downloadaports-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/APKBUILD7
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
}