summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f2bdd02a2e859a8be980dbd98aec717ddea105a (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
# Maintainer: Pellegrino Prevete (pellegrinoprevete@gmail.com)
# Maintainer: Liam Greenough (beacon515@gmail.com)
#Substantially adapted from the PKGBUILD of isl-git

_pkg="isl"
_major="15"
_pkgbase="lib${_pkg}"
_pkgname="isl${_major}"
pkgname="lib${_pkgname}"
pkgver="0.${_major}"
pkgrel=2
pkgdesc="Library for manipulating sets and relations of integer points bounded by linear constraints"
arch=('x86_64' 'i686' 'armv7h')
url="http://${_pkg}.gforge.inria.fr/"
depends=('gmp')
license=('MIT')
options=('!libtool')
provides=("${_pkg}=${pkgver}")
conflicts=("${_pkg}-git" "${_pkg}")
source=("http://${_pkgbase}.sourceforge.io/${_pkg}-${pkgver}.tar.gz")
md5sums=('ca0e2d172ff0b57764b10867c8fc762f')

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

check() {
  cd "${_pkg}-${pkgver}"
  make check
}

package() {
  cd "${_pkg}-${pkgver}"
  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.0.0-gdb.py

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