diff options
author | Jakob Nixdorf | 2017-07-24 21:18:38 +0200 |
---|---|---|
committer | Jakob Nixdorf | 2017-07-24 21:18:38 +0200 |
commit | dadfbd5993846883c9066b23ef29258fc3a8feb9 (patch) | |
tree | 44ef745b9768d3a70df1d38502672125e0c66777 | |
download | aur-dadfbd5993846883c9066b23ef29258fc3a8feb9.tar.gz |
Initial PKGBUILD for version 0.71
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ff927a706694 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = perl-io-async + pkgdesc = Asynchronous event-driven programming + pkgver = 0.71 + pkgrel = 1 + url = http://search.cpan.org/dist/IO-Async + arch = any + license = GPL + license = PerlArtistic + makedepends = perl-test-fatal + makedepends = perl-test-identity + makedepends = perl-test-refcount + depends = perl>=5.10.0 + depends = perl-future + depends = perl-struct-dumb + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/IO-Async-0.71.tar.gz + md5sums = a6925ea309ad98258aadf3fd9f7b0238 + +pkgname = perl-io-async + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dcf7fb2f23db --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Jakob Nixdorf <flocke@shadowice.org> + +pkgname=perl-io-async +pkgver=0.71 +pkgrel=1 +pkgdesc="Asynchronous event-driven programming" +arch=('any') +url="http://search.cpan.org/dist/IO-Async" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0' 'perl-future' 'perl-struct-dumb') +makedepends=('perl-test-fatal' 'perl-test-identity' 'perl-test-refcount') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/IO-Async-${pkgver}.tar.gz") +md5sums=('a6925ea309ad98258aadf3fd9f7b0238') + +build() { + cd "${srcdir}/IO-Async-${pkgver}" + + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + + /usr/bin/perl Makefile.PL + make +} + +check() { + cd "${srcdir}/IO-Async-${pkgver}" + + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + + make test +} + +package() { + cd "${srcdir}/IO-Async-${pkgver}" + + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + + make install INSTALLDIRS=vendor DESTDIR="${pkgdir}" + + find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete +} + +# vim:set ts=2 sw=2 et: |