Date: Saturday, December 20, 2014 @ 23:31:11 Author: arojas Revision: 124223
Splitting sage-mathematics Added: genus2reduction/ genus2reduction/trunk/ genus2reduction/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Added: genus2reduction/trunk/PKGBUILD =================================================================== --- genus2reduction/trunk/PKGBUILD (rev 0) +++ genus2reduction/trunk/PKGBUILD 2014-12-20 22:31:11 UTC (rev 124223) @@ -0,0 +1,24 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=genus2reduction +pkgver=20140211 +pkgrel=1 +pkgdesc="A program for computing the conductor and reduction types for a genus 2 hyperelliptic curve" +arch=('i686' 'x86_64') +url="http://www.sagemath.org/" +license=('GPL2') +depends=('pari') +source=("http://www.sagemath.org/packages/upstream/$pkgname/$pkgname-$pkgver.tar.bz2") +md5sums=('46bd298ef0699d7fb7763d08228a3ce1') + +build() { + cd $pkgname-$pkgver + cc -O2 -I/usr/include/pari -lpari -lm genus2reduction.c -o genus2reduction +} + +package() { + cd $pkgname-$pkgver + mkdir -p "$pkgdir"/usr/bin + install -m755 genus2reduction "$pkgdir"/usr/bin +} + Property changes on: genus2reduction/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property