2022-03-20 13:19:37 +01:00
|
|
|
# Maintainer: Frederik Schwan <freswa at archlinux dot org>
|
|
|
|
# Contributor: Andrew Sun <adsun701 at gmail dot com>
|
|
|
|
# Contributor: Kritias <theodoridisgr at gmail dot com>
|
|
|
|
# Contributor: sudokode <sudokode at gmail dot com>
|
|
|
|
# Contributor: Allan McRae <allan at archlinux dot org>
|
|
|
|
|
|
|
|
pkgname=libisl
|
2023-04-03 22:39:15 +02:00
|
|
|
pkgver=0.26
|
2024-05-03 17:32:08 +02:00
|
|
|
pkgrel=2
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc='Library for manipulating sets and relations of integer points bounded by linear constraints'
|
|
|
|
arch=('x86_64')
|
|
|
|
url='https://libisl.sourceforge.io'
|
|
|
|
license=('MIT')
|
|
|
|
depends=('gmp')
|
|
|
|
provides=('isl' 'libisl.so')
|
|
|
|
replaces=('isl')
|
|
|
|
options=(staticlibs)
|
|
|
|
source=("https://libisl.sourceforge.io/isl-${pkgver}.tar.xz")
|
2023-04-03 22:39:15 +02:00
|
|
|
b2sums=('2cfe2e0774a991d2385e66f58490c5454382cabc82d74eb4bbe5a603293b7bdc34ca3b087f0884f9da319c447747edc76275ecaf2f171237939f9c7d3c52ced7')
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}"/${pkgname#lib}-${pkgver}
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "${srcdir}"/${pkgname#lib}-${pkgver}
|
|
|
|
make check || true
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}"/${pkgname#lib}-${pkgver}
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
|
|
|
|
install -dm755 "${pkgdir}"/usr/share/gdb/auto-load/usr/lib/
|
|
|
|
mv "${pkgdir}"/usr/lib/libisl.so.*-gdb.py "${pkgdir}"/usr/share/gdb/auto-load/usr/lib/
|
2023-04-03 22:39:15 +02:00
|
|
|
|
2022-03-20 13:19:37 +01:00
|
|
|
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
|
|
|
|
}
|