summaryrefslogblamecommitdiff
path: root/user/perl-anyevent/APKBUILD
blob: c099cf3ce8de7ab82f1edf51db8a0795388be783 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                       
                                                          
                     



                               
           

                                           
                                           
             
                                       

                      
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                   
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-anyevent
_pkgreal=AnyEvent
_author=MLEHMANN
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=7.17
pkgrel=0
pkgdesc="The DBI of event loop programming"
url="https://metacpan.org/release/AnyEvent"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="c553cce80fa14e2f91031c569d1c30acf470871ddd1c122fa3dd36cd1ba5b7002e7ba1dea4c950d889c7c661b81042dd97975e195a5325190ad644babff81e0a  AnyEvent-7.17.tar.gz"