aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-28 00:46:33 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-28 00:46:33 -0300
commitc16d7e85f2fdc30594a0c5cac672c58605547e1c (patch)
tree325bc028ebe20341e3ebfb58a49c9f8a4c071ac0 /testing
parent75589cfc0e599830d7f727c6b005bba676a33d77 (diff)
downloadaports-c16d7e85f2fdc30594a0c5cac672c58605547e1c.tar.bz2
aports-c16d7e85f2fdc30594a0c5cac672c58605547e1c.tar.xz
testing/perl-dancer-plugin-passphrase: fix url fix license
Diffstat (limited to 'testing')
-rw-r--r--testing/perl-dancer-plugin-passphrase/APKBUILD19
1 files changed, 6 insertions, 13 deletions
diff --git a/testing/perl-dancer-plugin-passphrase/APKBUILD b/testing/perl-dancer-plugin-passphrase/APKBUILD
index 73c5d12d11..9080e970b9 100644
--- a/testing/perl-dancer-plugin-passphrase/APKBUILD
+++ b/testing/perl-dancer-plugin-passphrase/APKBUILD
@@ -4,43 +4,36 @@
pkgname=perl-dancer-plugin-passphrase
_pkgreal=Dancer-Plugin-Passphrase
pkgver=2.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="Passphrases and Passwords as objects for Dancer"
-url="http://search.cpan.org/dist/Dancer-Plugin-Passphrase/"
+url="https://metacpan.org/release/Dancer-Plugin-Passphrase"
arch="noarch"
-license="GPL PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-dancer perl-data-entropy perl-digest-bcrypt"
-cpanmakedepends=""
-cpancheckdepends="perl-dancer"
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JA/JAITKEN/$_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
}