diff options
author | John D Jones III | 2015-06-16 16:17:50 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 16:17:50 -0600 |
commit | e21740c6f7af0e659f12a3516fbc1489ca70301c (patch) | |
tree | af157c9a15623db9298a8fa66e78761250b07ee6 /PKGBUILD | |
download | aur-e21740c6f7af0e659f12a3516fbc1489ca70301c.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..80c168e73b6f --- /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-www-scripter-plugin-ajax' +pkgver='0.09' +pkgrel='1' +pkgdesc="WWW::Scripter plugin that provides the XMLHttpRequest object" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-constant-lexical' 'perl-html-dom' 'perl-http-cookies>=5.833' 'perl-http-daemon' 'perl-http-message' 'perl-je>=0.041' 'perl-libwww' 'perl-uri>=1' 'perl-www-scripter' 'perl-www-scripter-plugin-javascript>=0.002' 'perl-xml-dom-lite>=0.09') +makedepends=() +url='http://search.cpan.org/dist/WWW-Scripter-Plugin-Ajax' +source=('http://search.cpan.org/CPAN/authors/id/S/SP/SPROUT/WWW-Scripter-Plugin-Ajax-0.09.tar.gz') +md5sums=('b5460a6e639d79218f610990ee114649') +sha512sums=('d16da9c72d4ac7e050baa19b8bed05bea4970efd078292ade85d2ec5f0ba813437cb518e784c489ad991f9468c61e779408e03488a8d4f469490f7f056696924') +_distdir="WWW-Scripter-Plugin-Ajax-0.09" + +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: |