1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: bzklrm <bzklrm@gmail.com>
3 # Additional contributors Senjin, Xavier, dundee
8 pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems."
10 url="https://www.gnu.org/software/glpk/glpk.html"
13 source=(https://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig})
14 sha1sums=('3a85b1e4c806b91deebfcf9a845b9308cd785d64'
16 validpgpkeys=('A2B56CCB42220C06481335BAD17BF2305981E818') # Andrew Makhorin
19 cd ${pkgname}-${pkgver}
21 ./configure --prefix=/usr --with-gmp
26 cd ${pkgname}-${pkgver}
27 make DESTDIR="${pkgdir}" install
28 install -Dm644 doc/glpk.pdf "${pkgdir}/usr/share/doc/glpk/glpk.pdf"
29 install -Dm644 doc/gmpl.pdf "${pkgdir}/usr/share/doc/glpk/gmpl.pdf"