aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-crypt-passwdmd5/APKBUILD
blob: 2cc571d37268de8e71e619efd395f8d15ba1e5c2 (plain) (blame)
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
# Automatically generated by apkbuild-cpan, template 2
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=perl-crypt-passwdmd5
_pkgreal=Crypt-PasswdMD5
pkgver=1.40
pkgrel=1
pkgdesc="Provide interoperable MD5-based crypt() functions"
url="https://metacpan.org/release/Crypt-PasswdMD5/"
arch="noarch"
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() {
	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="c00f76210a9c07ad610b4698b15d142c3859100a13af620919e32bf046ab2febf8ebedafcffa4dde62f7e9af0e9ff137dae623e0bab60380fca003f7b35bfc77  Crypt-PasswdMD5-1.40.tgz"