diff options
author | John D Jones III | 2015-06-16 14:08:48 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 14:08:48 -0600 |
commit | c7943f2c409cdea681d055ecec9c0121f62c09b4 (patch) | |
tree | e093505f20c081a6564341a18b9d4bc6c110b32a | |
download | aur-c7943f2c409cdea681d055ecec9c0121f62c09b4.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e0bd504d8160 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl-boolean + pkgdesc = Boolean support for Perl + pkgver = 0.43 + pkgrel = 1 + url = http://search.mcpan.org/dist/boolean + arch = any + license = PerlArtistic + license = GPL + depends = perl + options = !emptydirs + source = http://search.mcpan.org/CPAN/authors/id/I/IN/INGY/boolean-0.43.tar.gz + md5sums = 6e9d6f64c04d31b1226707732bd59fec + sha512sums = cc34a182c5ac4f5c1814d5d812d9f0a96e57503e711761ef6e8ad24362836a6faff65be9643d7ed373b68305c0b4c7d005526fd7860223c22ecdcecea1c22cc8 + +pkgname = perl-boolean + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4ab5db08907 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.29 + +pkgname='perl-boolean' +pkgver='0.43' +pkgrel='1' +pkgdesc="Boolean support for Perl" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.mcpan.org/dist/boolean' +source=('http://search.mcpan.org/CPAN/authors/id/I/IN/INGY/boolean-0.43.tar.gz') +md5sums=('6e9d6f64c04d31b1226707732bd59fec') +sha512sums=('cc34a182c5ac4f5c1814d5d812d9f0a96e57503e711761ef6e8ad24362836a6faff65be9643d7ed373b68305c0b4c7d005526fd7860223c22ecdcecea1c22cc8') +_distdir="boolean-0.43" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |