diff options
author | John D Jones III | 2015-06-16 15:22:17 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 15:22:17 -0600 |
commit | d6eb8427e7eb2a02269714b7ce0aa762bbb625cb (patch) | |
tree | 4c12fddf49738db2a16c2c5510754719d89e6868 | |
download | aur-d6eb8427e7eb2a02269714b7ce0aa762bbb625cb.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b592a93258d0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = perl-mixin-extrafields + pkgdesc = add extra stashes of data to your objects + pkgver = 0.140002 + pkgrel = 1 + url = http://search.cpan.org/dist/Mixin-ExtraFields + arch = any + license = PerlArtistic + license = GPL + depends = perl-string-rewriteprefix>=0 + depends = perl-sub-exporter>=0.972 + depends = perl-sub-install>=0 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Mixin-ExtraFields-0.140002.tar.gz + md5sums = 75a781d2b86043acef85eaf8c104fe93 + sha512sums = 653e0bcbe5af77c11c1e4965759a4e3e8e463a5f27dac591ecda9dee60b3710dabbcc4c38c0d89f34cf31f98463211b62ddd6b31f2ab9c1a30107fee2ba906e8 + +pkgname = perl-mixin-extrafields + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7e7ab12a0d1b --- /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.27 + +pkgname='perl-mixin-extrafields' +pkgver='0.140002' +pkgrel='1' +pkgdesc="add extra stashes of data to your objects" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-string-rewriteprefix>=0' 'perl-sub-exporter>=0.972' 'perl-sub-install>=0') +makedepends=() +url='http://search.cpan.org/dist/Mixin-ExtraFields' +source=('http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Mixin-ExtraFields-0.140002.tar.gz') +md5sums=('75a781d2b86043acef85eaf8c104fe93') +sha512sums=('653e0bcbe5af77c11c1e4965759a4e3e8e463a5f27dac591ecda9dee60b3710dabbcc4c38c0d89f34cf31f98463211b62ddd6b31f2ab9c1a30107fee2ba906e8') +_distdir="Mixin-ExtraFields-0.140002" + +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: |