diff options
author | András Wacha | 2016-11-09 08:48:20 +0100 |
---|---|---|
committer | András Wacha | 2016-11-09 08:48:20 +0100 |
commit | 22bdb4692dccc34a8f6816fcd312d04d5abbb7c8 (patch) | |
tree | 8f69b964973ff46db8c5bce878298681bbeb97f5 | |
download | aur-22bdb4692dccc34a8f6816fcd312d04d5abbb7c8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 50 |
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0e5d34e0e2f1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl-pdl-stats + pkgdesc = a collection of statistics modules in Perl Data Language, with a quick-start guide for non-PDL people. + pkgver = 0.75 + pkgrel = 1 + url = https://metacpan.org/release/PDL-Stats + arch = any + license = PerlArtistic + license = GPL + depends = perl-pdl>=0 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/E/ET/ETJ/PDL-Stats-0.75.tar.gz + md5sums = 84f610c281142117c350c6f784002bc8 + sha512sums = 6a84aebc63b3d99ccb748f04569c8fd1303dc2f35effa6acee7d700e09496cab3fd0c4a130d4b05c92cd1c7feb6f78fa47a37046207b7b677a2e1dd520512ccc + +pkgname = perl-pdl-stats + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..bd6ad2726234 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +pkg/ +src/ +*.tar.gz +*.pkg.tar.xz +*~ +*.log
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..130c4d460a9b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,50 @@ +# Generator : CPANPLUS::Dist::Arch 1.32 +# Maintainer: András Wacha < awacha at gmail > + +pkgname='perl-pdl-stats' +pkgver='0.75' +pkgrel='1' +pkgdesc="a collection of statistics modules in Perl Data Language, with a quick-start guide for non-PDL people." +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-pdl>=0') +makedepends=() +url='https://metacpan.org/release/PDL-Stats' +source=('http://search.cpan.org/CPAN/authors/id/E/ET/ETJ/PDL-Stats-0.75.tar.gz') +md5sums=('84f610c281142117c350c6f784002bc8') +sha512sums=('6a84aebc63b3d99ccb748f04569c8fd1303dc2f35effa6acee7d700e09496cab3fd0c4a130d4b05c92cd1c7feb6f78fa47a37046207b7b677a2e1dd520512ccc') +_distdir="PDL-Stats-0.75" + +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: |