blob: 89063246d0703930933fe7e193ca0119b878dc25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-authcas
_pkgreal=AuthCAS
pkgver=1.7
pkgrel=0
pkgdesc="Client library for JA-SIG CAS 2.0 authentication server"
url="https://metacpan.org/release/AuthCAS/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-libwww perl-io-socket-ssl"
cpanmakedepends="perl-module-build"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/O/OS/OSALAUN/AuthCAS-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor
./Build
}
check() {
./Build test
}
package() {
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="10c85ca528bedfd2e54014be3e31ac748c2af923ed58c0af8a066abe213829cee0715a0c711e1e3591854f7bab5f56515e0c883ca0b0353d16170f100168c3be AuthCAS-1.7.tar.gz"
|