summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-25 22:00:12 -0700
committerDan Theisen <djt@hxx.in>2018-09-25 22:04:18 -0700
commit3276dcb2d551e5aff21f1f763d299b6a89ccafcf (patch)
tree22e98294b6044806c37506a46ddf7ea8dd7dbf08 /user
parentd69ce1a51ca375b98c6279986a049e37078c25ab (diff)
downloadpackages-3276dcb2d551e5aff21f1f763d299b6a89ccafcf.tar.gz
packages-3276dcb2d551e5aff21f1f763d299b6a89ccafcf.tar.bz2
packages-3276dcb2d551e5aff21f1f763d299b6a89ccafcf.tar.xz
packages-3276dcb2d551e5aff21f1f763d299b6a89ccafcf.zip
user/perl-anyevent: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-anyevent/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-anyevent/APKBUILD b/user/perl-anyevent/APKBUILD
new file mode 100644
index 000000000..f97e983eb
--- /dev/null
+++ b/user/perl-anyevent/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-anyevent
+pkgver=7.14
+pkgrel=0
+pkgdesc="The DBI of event loop programming"
+url="https://metacpan.org/pod/AnyEvent"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0"
+depends="perl"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/AnyEvent-$pkgver.tar.gz"
+builddir="$srcdir/AnyEvent-$pkgver"
+
+build() {
+ cd "$builddir"
+ 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
+}
+
+sha512sums="98e7b9e06cf74b99d3407a25b60f3b825fceed3bae43505e1fb90785e24bd88ae25955cff25d29b4cc96957db7f4f5203d19ad2365abb4e3a3227fd91a16fb25 AnyEvent-7.14.tar.gz"