diff options
author | Mark Grimes | 2015-10-12 12:10:08 -0400 |
---|---|---|
committer | Mark Grimes | 2015-10-12 12:10:08 -0400 |
commit | 641935c9288a246c45880b0ce647d0242708127a (patch) | |
tree | 840c566b0db4e16626f7e276d340c973e8974f00 | |
download | aur-641935c9288a246c45880b0ce647d0242708127a.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 40 | ||||
-rw-r--r-- | README.md | 10 |
4 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..79e7c0946499 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = perl-b-hooks-parser + pkgdesc = Interface to perl's parser variables + pkgver = 0.16 + pkgrel = 1 + url = https://metacpan.org/module/B-Hooks-Parser + arch = any + license = GPL + license = PerlArtistic + depends = perl>=5.10 + depends = perl-b-hooks-op-check + depends = perl-b-hooks-endofscope + depends = perl-test-exception + options = !emptydirs + options = purge + source = https://cpan.metacpan.org/authors/id/E/ET/ETHER/B-Hooks-Parser-0.16.tar.gz + md5sums = 5db64fd81d0c294d86af241529131680 + +pkgname = perl-b-hooks-parser + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..af160642e750 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +pkg/ +src/ +*.tar.gz +*.src.tar.gz +*.pkg.tar* +*.swp diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..564e198da2ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Mark Grimes <mgrimes at peculier.com> + +pkgname=perl-b-hooks-parser +pkgver=0.16 +pkgrel=1 +pkgdesc="Interface to perl's parser variables" +_dist=B-Hooks-Parser +arch=('any') +url="https://metacpan.org/module/$_dist" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10' 'perl-b-hooks-op-check' 'perl-b-hooks-endofscope' 'perl-test-exception') +options=('!emptydirs' purge) +source=(https://cpan.metacpan.org/authors/id/E/ET/ETHER/$_dist-$pkgver.tar.gz) +md5sums=('5db64fd81d0c294d86af241529131680') + +# Setup environment to ensure installation in system perl and vender directory +clean_env() { + unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null PERL_AUTOINSTALL=--skipdeps +} + +build() ( + cd "$srcdir/$_dist-$pkgver" + clean_env + /usr/bin/perl Makefile.PL + make +) + +check() ( + cd "$srcdir/$_dist-$pkgver" + clean_env + make test +) + +package() ( + cd "$srcdir/$_dist-$pkgver" + clean_env + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +) + diff --git a/README.md b/README.md new file mode 100644 index 000000000000..294b7714dd5b --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +## Arch Linux package for the B::Hooks::Parser Perl Module + +This can be found in the Arch Linux AUR: + + https://metacpan.org/module/B-Hooks-Parser + + The B::Hooks::Parser module is "Interface to perl's parser variables". + It can be found on CPAN: + + https://metacpan.org/release/B-Hooks-Parser |