diff options
author | John D Jones III | 2015-06-16 15:40:55 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 15:40:55 -0600 |
commit | 2434d5742a06e23b4208e18fc6bbe8162c8cba4b (patch) | |
tree | 0946d8624fabcb1bca517d23c7195f7f69459f6f | |
download | aur-2434d5742a06e23b4208e18fc6bbe8162c8cba4b.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8d8bbdc3f9ab --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = perl-parse-errorstring-perl + pkgdesc = Parse error messages from the perl interpreter + pkgver = 0.19 + pkgrel = 1 + url = http://search.cpan.org/dist/Parse-ErrorString-Perl + arch = any + license = PerlArtistic + license = GPL + makedepends = perl-test-differences + depends = perl>=5.8.7 + depends = perl-class-xsaccessor + depends = perl-pod-pom>=0.27 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/A/AZ/AZAWAWI/Parse-ErrorString-Perl-0.19.tar.gz + md5sums = dd28781223f9dd52c89c3c0c2ef87dc3 + sha512sums = 54e7b3bd85a2ce7244c0e95ede64f641cc3c8497e5ed9e25337297f6650c3bbd8445f3b157018c9f4f3b5fbcca55e00c5edea5f5d497bbe5352964d325fd6f6d + +pkgname = perl-parse-errorstring-perl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..37b9a09b1a45 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com> +# Generator : CPANPLUS::Dist::Arch 1.25 + +pkgname='perl-parse-errorstring-perl' +pkgver='0.19' +pkgrel='1' +pkgdesc="Parse error messages from the perl interpreter" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=5.8.7' 'perl-class-xsaccessor' 'perl-pod-pom>=0.27') +makedepends=('perl-test-differences') +url='http://search.cpan.org/dist/Parse-ErrorString-Perl' +source=('http://search.cpan.org/CPAN/authors/id/A/AZ/AZAWAWI/Parse-ErrorString-Perl-0.19.tar.gz') +md5sums=('dd28781223f9dd52c89c3c0c2ef87dc3') +sha512sums=('54e7b3bd85a2ce7244c0e95ede64f641cc3c8497e5ed9e25337297f6650c3bbd8445f3b157018c9f4f3b5fbcca55e00c5edea5f5d497bbe5352964d325fd6f6d') +_distdir="Parse-ErrorString-Perl-0.19" + +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: |