summaryrefslogtreecommitdiff
path: root/user/perl-bit-vector/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-07-06 01:27:11 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-07-06 01:27:11 +0000
commit20939b24db511741bbbe894894c3795628628641 (patch)
treee5b0efdf069b347521d629a962f7d5103734b40a /user/perl-bit-vector/APKBUILD
parent8b6d8279a455d32066a32d7ca93f7a8df476a706 (diff)
parent842362c246553f121cc1e18c7e0bc398551850ca (diff)
downloadpackages-20939b24db511741bbbe894894c3795628628641.tar.gz
packages-20939b24db511741bbbe894894c3795628628641.tar.bz2
packages-20939b24db511741bbbe894894c3795628628641.tar.xz
packages-20939b24db511741bbbe894894c3795628628641.zip
Merge @alyx's packages into master
Pkgs on pkgs on pkgs. * user/erl-rebar: a buildsys * user/erl-rebar3: another buildsys * user/perl-carp-clan: [carp clan](https://cdn.bulbagarden.net/upload/0/02/129Magikarp.png) stuff * user/perl-bit-vector: are they bits? are they vectors? the world may never know * user/perl-class-accessor: a thicc brother for perl-class-accessor-lite * user/ruby-bundler: [gems stuff](https://www.youtube.com/watch?v=h-Z7ytsEZDo) See merge request adelie/packages!265
Diffstat (limited to 'user/perl-bit-vector/APKBUILD')
-rw-r--r--user/perl-bit-vector/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/perl-bit-vector/APKBUILD b/user/perl-bit-vector/APKBUILD
new file mode 100644
index 000000000..90dc9385a
--- /dev/null
+++ b/user/perl-bit-vector/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Alyx Wolcott <alyx@leuhta.com>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-bit-vector
+pkgver=7.4
+pkgrel=0
+pkgdesc="Efficient bit vector, set of integers and 'big int' math library"
+url="https://metacpan.org/release/Bit-Vector"
+arch="all"
+license="Artistic-1.0-Perl"
+makedepends="perl-dev perl-carp-clan"
+subpackages="$pkgname-doc"
+#https://cpan.metacpan.org/authors/id/S/ST/STBEY/Bit-Vector-7.4.tar.gz
+source="https://cpan.metacpan.org/authors/id/S/ST/STBEY/Bit-Vector-$pkgver.tar.gz"
+builddir="$srcdir/Bit-Vector-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5 Bit-Vector-7.4.tar.gz"