aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-25 22:03:24 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 15:12:19 +0000
commit6b65870b783a5f7c5b29ebefb2982564a62ffcf7 (patch)
treee4a1c53b9211d7455b327cf9b4635e09ca2c89af
parent8c5b5674ae08c1a9b49687a5e86df1f1fc712281 (diff)
downloadaports-6b65870b783a5f7c5b29ebefb2982564a62ffcf7.tar.gz
aports-6b65870b783a5f7c5b29ebefb2982564a62ffcf7.tar.bz2
aports-6b65870b783a5f7c5b29ebefb2982564a62ffcf7.tar.xz
community/perl-bit-vector: modernize, fix license
-rw-r--r--community/perl-bit-vector/APKBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/community/perl-bit-vector/APKBUILD b/community/perl-bit-vector/APKBUILD
index 55a5616ce3..3d1e27a672 100644
--- a/community/perl-bit-vector/APKBUILD
+++ b/community/perl-bit-vector/APKBUILD
@@ -3,33 +3,28 @@
pkgname=perl-bit-vector
_realname=Bit-Vector
pkgver=7.4
-pkgrel=4
+pkgrel=5
pkgdesc="Efficient bit vector, set of integers, and big int math library"
url="http://search.cpan.org/dist/Bit-Vector/"
arch="all"
-license="PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-carp-clan"
-depends_dev=""
-makedepends="perl-dev perl-carp-clan"
-install=""
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
build() {
- cd "$builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "$builddir"
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}