summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b13810d9b84bc54ec5f3c7645896fde27a64be4 (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
36
37
38
39
40
41
42
43
44
# Maintainer: Ondřej Hošek <ondra.hosek@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>

pkgname=isl-git
_gitname=isl
pkgver=0.18.148.gb19553a4
pkgrel=1
pkgdesc="Library for manipulating sets and relations of integer points bounded by linear constraints (development version)"
arch=('i686' 'x86_64')
url="http://isl.gforge.inria.fr/"
depends=('gmp')
license=('MIT')
options=('!libtool')
provides=('isl')
conflicts=('isl')
source=('git://repo.or.cz/isl.git')
md5sums=('SKIP')

pkgver() {
  cd "$_gitname"
  git describe --always | sed -e 's|^isl-||' -e 's|-|.|g'
}

build() {
  cd "$_gitname"
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

check() {
  cd "$_gitname"
  make check
}

package() {
  cd "$_gitname"
  make -j1 DESTDIR="$pkgdir/" install

  install -dm755 $pkgdir/usr/share/gdb/auto-load/usr/lib/
  mv $pkgdir/{,/usr/share/gdb/auto-load/}usr/lib/libisl.so.15.3.0-gdb.py

  install -Dm644 LICENSE $pkgdir/usr/share/licenses/isl/LICENSE
}