blob: 78f2ee8bb571247844451b523466503f0c89326e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Connor Behan <connor.behan@gmail.com>
# Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>
pkgname=singular-factory
pkgver=4.3.0
pkgrel=1
pkgdesc="Computer Algebra System for polynomial computations: factory and libfac"
arch=('i686' 'x86_64')
url="http://www.singular.uni-kl.de/"
license=('GPL')
depends=('gmp' 'ncurses' 'readline' 'flint')
options=('!strip')
source=(https://www.singular.uni-kl.de/ftp/pub/Math/Singular/Factory/factory-$pkgver.tar.gz)
build() {
cd "$srcdir"/factory-$pkgver
autoreconf -vfi
cp cf_assert.h include/factory/
./configure --prefix=/usr \
--libdir=/usr/lib \
--includedir=/usr/include/singular \
--with-ntl \
--with-gmp \
--disable-omalloc \
--without-Singular
make
}
package() {
cd "$srcdir"/factory-$pkgver
make DESTDIR="$pkgdir" install
}
sha256sums=('f1e25b566a8c06d0e98b9795741c6d12b5a34c5c0c61c078d9346d8bbc82f09f')
|