blob: 096c0a268bf1a65001911377130275d669a871a9 (
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
|
# Maintainer: Joe Neeman <joeneeman@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
pkgname=frobby
pkgver=0.9.1
pkgrel=1
pkgdesc="Computations With Monomial Ideals"
arch=('i686' 'x86_64')
url="https://github.com/Macaulay2/frobby"
license=('GPL')
depends=('gmp')
source=(https://github.com/Macaulay2/frobby/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=('4bd699ff009973bc2d209ec9abdee33ef09e11de83914046fcc4ce68e7cc25b5')
build() {
cd "$srcdir/frobby-$pkgver"
make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS"
RANLIB=/usr/bin/ranlib make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" library
}
package() {
cd "$srcdir/frobby-$pkgver"
install -D -m 755 bin/frobby $pkgdir/usr/bin/frobby
install -D -m 644 bin/libfrobby.a $pkgdir/usr/lib/libfrobby.a
install -D -m 644 src/frobby.h $pkgdir/usr/include/frobby.h
install -D -m 644 src/stdinc.h $pkgdir/usr/include/stdinc.h
}
|