diff options
author | John D Jones III | 2015-06-16 14:49:49 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 14:49:49 -0600 |
commit | 6cff303e2ec900f29cb88862faca295ae6c1916e (patch) | |
tree | 6516954e84720502768dca70d897d81172e09953 | |
download | aur-perl-dist-zilla-plugin-homepage.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 50 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2fa61a838c8a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = perl-dist-zilla-plugin-homepage + pkgdesc = Automatically sets the homepage URL + pkgver = 1.101420 + pkgrel = 1 + url = http://search.cpan.org/dist/Dist-Zilla-Plugin-Homepage + arch = any + license = PerlArtistic + license = GPL + depends = perl-dist-zilla + depends = perl-moose + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/M/MA/MARCEL/Dist-Zilla-Plugin-Homepage-1.101420.tar.gz + md5sums = ce3405a348ba79f9e5231cba493273b6 + sha512sums = 43703d80031ec186bfd47733081d2511bdcce5718f36b2e9029a0873762afe9337fb89edc18df34fab0edd55129244d0541604f8ca4037cbc1fb6d5166015258 + +pkgname = perl-dist-zilla-plugin-homepage + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1069227cc0e0 --- /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-dist-zilla-plugin-homepage' +pkgver='1.101420' +pkgrel='1' +pkgdesc="Automatically sets the homepage URL" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-dist-zilla' 'perl-moose') +makedepends=() +url='http://search.cpan.org/dist/Dist-Zilla-Plugin-Homepage' +source=('http://search.cpan.org/CPAN/authors/id/M/MA/MARCEL/Dist-Zilla-Plugin-Homepage-1.101420.tar.gz') +md5sums=('ce3405a348ba79f9e5231cba493273b6') +sha512sums=('43703d80031ec186bfd47733081d2511bdcce5718f36b2e9029a0873762afe9337fb89edc18df34fab0edd55129244d0541604f8ca4037cbc1fb6d5166015258') +_distdir="Dist-Zilla-Plugin-Homepage-1.101420" + +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: |