1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Ronald van Haren <ronald.archlinux.org>
3 # Contributor: bzklrm <bzklrm@gmail.com>
4 # Additional contributors Senjin, Xavier, dundee
9 pkgdesc='GNU Linear Programming Kit: solve LP, MIP and other problems'
11 url='https://www.gnu.org/software/glpk/glpk.html'
14 source=(https://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig})
15 sha256sums=('4a1013eebb50f728fc601bdd833b0b2870333c3b3e5a816eeba921d95bec6f15'
17 validpgpkeys=('A2B56CCB42220C06481335BAD17BF2305981E818') # Andrew Makhorin
22 ./configure --prefix=/usr --with-gmp
33 make DESTDIR="$pkgdir" install
34 install -Dm644 doc/{glpk,gmpl}.pdf -t "$pkgdir"/usr/share/doc/glpk/