diff options
author | Anton Leontiev | 2013-08-23 16:58:29 +0400 |
---|---|---|
committer | Anton Leontiev | 2015-02-15 07:48:01 +0300 |
commit | 75d0fc2aab128e1a8f77cf492e0a67eeb6004f8f (patch) | |
tree | f1b38f8d47b23b19870212d9527b9d6b9a6a449e | |
download | aur-75d0fc2aab128e1a8f77cf492e0a67eeb6004f8f.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | PKGBUILD.tt | 34 |
4 files changed, 94 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1c906b2541e1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = perl-math-gsl + pkgdesc = Perl module providing interface to the GNU Scientific Library + pkgver = 0.27 + pkgrel = 1 + url = http://search.cpan.org/dist/Math-GSL + arch = i686 + arch = x86_64 + license = GPL + checkdepends = perl-test-exception + checkdepends = perl-test-class + checkdepends = perl-test-most + makedepends = perl-extutils-pkgconfig + depends = perl + depends = gsl + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/L/LE/LETO/Math-GSL-0.27.tar.gz + md5sums = 1a929dd3274d19217ed5696804c25b01 + +pkgname = perl-math-gsl + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e6b6b4b8077d --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.tar.gz +*.tar.bz2 +*.tar.xz +*.tar.lz +src/ +pkg/
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8016954c70ca --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# CPAN Name : Math::GSL +# Contributor: Anton Leontiev <bunder /at/ t-25.ru> +# Generator : CPANPLUS::Dist::Arch 1.23 + +pkgname=perl-math-gsl +pkgver=0.27 +pkgrel=1 +pkgdesc='Perl module providing interface to the GNU Scientific Library' +arch=('i686' 'x86_64') +url='http://search.cpan.org/dist/Math-GSL' +license=('GPL') +options=(!emptydirs) +depends=('perl' 'gsl') +makedepends=('perl-extutils-pkgconfig') +checkdepends=('perl-test-exception' 'perl-test-class' 'perl-test-most') +source=(http://search.cpan.org/CPAN/authors/id/L/LE/LETO/Math-GSL-0.27.tar.gz) +md5sums=('1a929dd3274d19217ed5696804c25b01') + +build() { + cd "$srcdir/Math-GSL-0.27" + PERL_MM_USE_DEFAULT=1 perl Build.PL --installdirs vendor --destdir "$pkgdir" + perl Build +} + +check() { + cd "$srcdir/Math-GSL-0.27" + perl Build test +} + +package() { + cd "$srcdir/Math-GSL-0.27" + perl Build install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} diff --git a/PKGBUILD.tt b/PKGBUILD.tt new file mode 100644 index 000000000000..e49c781c444c --- /dev/null +++ b/PKGBUILD.tt @@ -0,0 +1,34 @@ +# CPAN Name : Math::GSL +# Contributor: [% packager %] +# Generator : CPANPLUS::Dist::Arch [% version %] + +pkgname=[% pkgname %] +pkgver=[% pkgver %] +pkgrel=[% pkgrel %] +pkgdesc='Perl module providing interface to the GNU Scientific Library' +arch=('i686' 'x86_64') +url='[% url %]' +license=('GPL') +options=(!emptydirs) +depends=('perl' 'gsl') +makedepends=('perl-extutils-pkgconfig') +checkdepends=('perl-test-exception' 'perl-test-class' 'perl-test-most') +source=([% source %]) +md5sums=('[% md5sums %]') + +build() { + cd "$srcdir/[% distdir %]" + PERL_MM_USE_DEFAULT=1 perl Build.PL --installdirs vendor --destdir "$pkgdir" + perl Build +} + +check() { + cd "$srcdir/[% distdir %]" + perl Build test +} + +package() { + cd "$srcdir/[% distdir %]" + perl Build install + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} |