aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-digest-bcrypt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-digest-bcrypt/APKBUILD')
-rw-r--r--testing/perl-digest-bcrypt/APKBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/testing/perl-digest-bcrypt/APKBUILD b/testing/perl-digest-bcrypt/APKBUILD
index cf2b52769a..b3131a2233 100644
--- a/testing/perl-digest-bcrypt/APKBUILD
+++ b/testing/perl-digest-bcrypt/APKBUILD
@@ -4,43 +4,38 @@
pkgname=perl-digest-bcrypt
_pkgreal=Digest-Bcrypt
pkgver=1.209
-pkgrel=0
+pkgrel=1
pkgdesc="Perl interface to the bcrypt digest algorithm"
-url="http://search.cpan.org/dist/Digest-Bcrypt/"
+url="https://metacpan.org/release/Digest-Bcrypt"
arch="noarch"
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-crypt-eksblowfish"
-cpanmakedepends=""
cpancheckdepends="perl-try-tiny"
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/C/CA/CAPOEIRAB/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- default_prepare || return 1
+ default_prepare
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}