mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:47:13 +08:00
31 lines
700 B
Bash
31 lines
700 B
Bash
# $Id$
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Contributor: Rémy Oudompheng <remy@archlinux.org>
|
|
|
|
pkgname=gfan
|
|
pkgver=0.5
|
|
pkgrel=1
|
|
pkgdesc="A software package for computing Gröbner fans and tropical varieties"
|
|
arch=('i686' 'x86_64')
|
|
url="http://home.imf.au.dk/jensen/software/gfan/gfan.html"
|
|
license=('GPL')
|
|
depends=('cddlib')
|
|
source=("http://home.imf.au.dk/jensen/software/gfan/gfan${pkgver}.tar.gz" 'fix-build.patch')
|
|
md5sums=('2d76d1625e0766c57c2b3ece809c23c8'
|
|
'e327ec23a3bdf20ce6c8711ab154db50')
|
|
|
|
prepare() {
|
|
cd gfan$pkgver
|
|
patch -p1 -i $srcdir/fix-build.patch
|
|
}
|
|
|
|
build() {
|
|
cd gfan$pkgver
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd gfan$pkgver
|
|
make PREFIX="$pkgdir"/usr install
|
|
}
|