diff options
author | oli | 2015-06-12 21:56:55 +0200 |
---|---|---|
committer | oli | 2015-06-12 21:56:55 +0200 |
commit | 623e31f447a6f13d898b437d72bf2b0ca86505e1 (patch) | |
tree | c0fa63a8363b0e364f2d2500208c1abf120ba91c | |
download | aur-623e31f447a6f13d898b437d72bf2b0ca86505e1.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4f153abc3197 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = perl-math-polygon-tree + pkgdesc = Fast check if object is inside polygon + pkgver = 0.0691 + pkgrel = 1 + url = http://search.cpan.org/~LIOSHA/Math-Polygon-Tree + arch = any + license = GPL + license = PerlArtistic + makedepends = perl-extutils-makemaker + options = !emptydirs + source = http://www.cpan.org/authors/id/L/LI/LIOSHA/Math-Polygon-Tree-0.0691.tar.gz + md5sums = 5f7684f8ed4301fbeaf7629af8495ac5 + +pkgname = perl-math-polygon-tree + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2a0187836486 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman +# Maintainer: Jose Riha <jose1711 at gmail dot com> + +pkgname=perl-math-polygon-tree +_cpanname=Math-Polygon-Tree +pkgver=0.0691 +pkgrel=1 +pkgdesc="Fast check if object is inside polygon" +arch=('any') +url="http://search.cpan.org/~LIOSHA/${_cpanname}" +license=('GPL' 'PerlArtistic') +makedepends=('perl-extutils-makemaker') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/L/LI/LIOSHA/Math-Polygon-Tree-${pkgver}.tar.gz) +md5sums=('5f7684f8ed4301fbeaf7629af8495ac5') + +build() { + cd $srcdir/${_cpanname}-${pkgver} + sed -i '/^auto_install/d' Makefile.PL + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/${_cpanname}-${pkgver} + make install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |