diff options
author | András Wacha | 2016-11-09 10:01:00 +0100 |
---|---|---|
committer | András Wacha | 2016-11-09 10:01:00 +0100 |
commit | c28db7decc21371bf3b104d44ecdddef09349279 (patch) | |
tree | 66e0f9225a06dcbb368ab860bd7dbfb47a02edd4 | |
download | aur-c28db7decc21371bf3b104d44ecdddef09349279.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 49 |
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2c19a1ff37ef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = perl-astro-fits-cfitsio + pkgdesc = Perl extension for using the cfitsio library + pkgver = 1.11 + pkgrel = 1 + url = https://metacpan.org/release/Astro-FITS-CFITSIO + arch = i686 + arch = x86_64 + license = PerlArtistic + license = GPL + depends = perl>=0 + depends = glibc>=2.24 + depends = cfitsio + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/P/PR/PRATZLAFF/Astro-FITS-CFITSIO-1.11.tar.gz + md5sums = 99526138ddeaee2f14f364d2406b1ee9 + sha512sums = e823831c51f20ea775b66c0fa3855451ca0b9de984968daa07e365b86151578a4424089d21c5b7528c15c1eb49e9517935f266d60c1b074ce7d9d02265fc20a5 + +pkgname = perl-astro-fits-cfitsio + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..38b75e18fa1c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Contributor: Anonymous +# Generator : CPANPLUS::Dist::Arch 1.32 + +pkgname='perl-astro-fits-cfitsio' +pkgver='1.11' +pkgrel='1' +pkgdesc="Perl extension for using the cfitsio library" +arch=('i686' 'x86_64') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl>=0' 'glibc>=2.24' 'cfitsio') +makedepends=() +url='https://metacpan.org/release/Astro-FITS-CFITSIO' +source=('http://search.cpan.org/CPAN/authors/id/P/PR/PRATZLAFF/Astro-FITS-CFITSIO-1.11.tar.gz') +md5sums=('99526138ddeaee2f14f364d2406b1ee9') +sha512sums=('e823831c51f20ea775b66c0fa3855451ca0b9de984968daa07e365b86151578a4424089d21c5b7528c15c1eb49e9517935f266d60c1b074ce7d9d02265fc20a5') +_distdir="Astro-FITS-CFITSIO-1.11" + +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: |