diff options
author | John D Jones III | 2015-06-16 16:04:01 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 16:04:01 -0600 |
commit | e6cefa6319a9eefd532942118f76c3e8d11f2c89 (patch) | |
tree | aba3c0bac81a6aa06c15fd7ccd6be955cdf51f57 | |
download | aur-e6cefa6319a9eefd532942118f76c3e8d11f2c89.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..b5af1920fac1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl-test-synopsis + pkgdesc = Test your SYNOPSIS code + pkgver = 0.06 + pkgrel = 1 + url = http://search.cpan.org/dist/Test-Synopsis + arch = any + license = PerlArtistic + license = GPL + depends = perl + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Test-Synopsis-0.06.tar.gz + md5sums = 6114b3d3f354ad864d83fb8689934ca1 + sha512sums = 22084eed57bfb4878272205655a2e74eef9dc0db587063fd3e6f24b4fff04ef0e216e3efe81e5793be6120835b55e073a0dbe6ae86acf63ba813e79f8aaf930f + +pkgname = perl-test-synopsis + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c09d91509b65 --- /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-test-synopsis' +pkgver='0.06' +pkgrel='1' +pkgdesc="Test your SYNOPSIS code" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl') +makedepends=() +url='http://search.cpan.org/dist/Test-Synopsis' +source=('http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Test-Synopsis-0.06.tar.gz') +md5sums=('6114b3d3f354ad864d83fb8689934ca1') +sha512sums=('22084eed57bfb4878272205655a2e74eef9dc0db587063fd3e6f24b4fff04ef0e216e3efe81e5793be6120835b55e073a0dbe6ae86acf63ba813e79f8aaf930f') +_distdir="Test-Synopsis-0.06" + +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: |