1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
8 pkgdesc="a Mixed Integer Linear Programming (MILP) solver"
10 url="http://lpsolve.sourceforge.net/" # no https
13 source=(https://downloads.sourceforge.net/project/lpsolve/lpsolve/${pkgver}/lp_solve_${pkgver}_source.tar.gz
15 sha1sums=('c0ffa7b8d49938ba213b4d3e894d56b3aba4e983'
16 '6fb51fcc2d821f3ca16b0da9e93cf211abafcde2')
19 cd ${_origname}_${_mainver}
21 patch -Np1 -i "$srcdir"/flags.patch
25 cd ${_origname}_${_mainver}
27 # taken from Fedora spec
30 # rm bin/ux*/liblpsolve55.a
36 cd ${_origname}_${_mainver}
38 install -dm755 "${pkgdir}"/usr/{bin,lib,include/lpsolve}
39 install -m755 lp_solve/bin/ux*/lp_solve "${pkgdir}"/usr/bin/
40 install -m755 lpsolve55/bin/ux*/liblpsolve55.so "${pkgdir}"/usr/lib/
41 install -m644 lp*.h "${pkgdir}"/usr/include/lpsolve/