diff options
author | John D Jones III | 2015-06-16 15:12:27 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 15:12:27 -0600 |
commit | 8e0591764835dd8ad4523d881728f674c483bc80 (patch) | |
tree | a735d8fb5525013e3666eda9b24f3608739dc7b0 | |
download | aur-8e0591764835dd8ad4523d881728f674c483bc80.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..57ba915ad29e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = perl-javascript-v8 + pkgdesc = Perl interface to the V8 JavaScript engine + pkgver = 0.07 + pkgrel = 1 + url = http://search.cpan.org/dist/JavaScript-V8 + arch = i686 + arch = x86_64 + license = PerlArtistic + license = GPL + makedepends = perl-extutils-xspp>=0.11 + depends = perl + depends = v8>=3.19.18.4 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/D/DG/DGL/JavaScript-V8-0.07.tar.gz + md5sums = 88e34b4706916c10b9fc37cde7cad1ab + sha512sums = dea46904f3dd24a2ed1eca35a67bde7b0df50b9bfad7eca29e0680fc18027a22f7d02c22ffc6d97cbffafc0afb2222dda830c33183c9e4a60f672debb881bcca + +pkgname = perl-javascript-v8 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c23ecba55f59 --- /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-javascript-v8' +pkgver='0.07' +pkgrel='1' +pkgdesc="Perl interface to the V8 JavaScript engine" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl' 'v8>=3.19.18.4') +makedepends=('perl-extutils-xspp>=0.11') +url='http://search.cpan.org/dist/JavaScript-V8' +source=('http://search.cpan.org/CPAN/authors/id/D/DG/DGL/JavaScript-V8-0.07.tar.gz') +md5sums=('88e34b4706916c10b9fc37cde7cad1ab') +sha512sums=('dea46904f3dd24a2ed1eca35a67bde7b0df50b9bfad7eca29e0680fc18027a22f7d02c22ffc6d97cbffafc0afb2222dda830c33183c9e4a60f672debb881bcca') +_distdir="JavaScript-V8-0.07" + +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: |