diff options
author | Saulius Lukauskas | 2015-08-05 11:47:20 +0100 |
---|---|---|
committer | Saulius Lukauskas | 2015-08-05 11:47:20 +0100 |
commit | 66e498a075fd595ddf6798766615b706fd796e95 (patch) | |
tree | 7fa61670a22ea98a3a67e1b62b3fb12b7e752761 | |
download | aur-66e498a075fd595ddf6798766615b706fd796e95.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8d2dab6bf8f6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = perl-math-cdf + pkgdesc = Generate probabilities and quantiles from several statistical probability functions + pkgver = 0.1 + pkgrel = 1 + url = http://search.cpan.org/~callahan/Math-CDF-0.1/CDF.pm + arch = x86_64 + arch = i686 + license = GPL + license = PerlArtistic + depends = perl + source = http://search.cpan.org/CPAN/authors/id/C/CA/CALLAHAN/Math-CDF-0.1.tar.gz + sha1sums = b0c027f9ebf5fca55c7acac8e1c832eae83c9263 + +pkgname = perl-math-cdf + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..80f9205ed0e3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Sauliusl <luksaulius[at]gmail> +pkgname=perl-math-cdf +pkgver=0.1 +pkgrel=1 +pkgdesc="Generate probabilities and quantiles from several statistical probability functions" +url="http://search.cpan.org/~callahan/Math-CDF-0.1/CDF.pm" +arch=('x86_64' 'i686') +license=('GPL' 'PerlArtistic') +depends=('perl') +optdepends=() +makedepends=() +conflicts=() +replaces=() +backup=() +install=() +source=("http://search.cpan.org/CPAN/authors/id/C/CA/CALLAHAN/Math-CDF-0.1.tar.gz") +sha1sums=('b0c027f9ebf5fca55c7acac8e1c832eae83c9263') + + +build() { + cd ${srcdir}/Math-CDF-${pkgver}/ + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + perl Makefile.PL PERL_AUTOINSTALL=--skipdeps + make +} + +check() ( + cd ${srcdir}/Math-CDF-${pkgver}/ + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + export PERL_MM_USE_DEFAULT=1 + make test +) + + +package() { + cd ${srcdir}/Math-CDF-${pkgver}/ + unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" +} + +# vim:set ts=2 sw=2 et:
\ No newline at end of file |