summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 680a7559abd07bfd4d0400d8a5c06b99fe73c4e3 (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
pkgname=python-lpsolve
pkgver=5.5
pkgrel=1
pkgdesc="lpsolve python extension for python 2.x and python 3.x"
license=('LGPL')
arch=('x86_64')
url="https://github.com/chandu-atina/lp_solve_python_3x"
depends=('lpsolve' 'python-numpy')
makedepends=('python-setuptools')
source=("git+https://github.com/chandu-atina/lp_solve_python_3x.git")
sha256sums=('SKIP')

prepare() {
  cd lp_solve_python_3x/extra/Python
}

build() {
  cd lp_solve_python_3x/extra/Python
  python ./setup.py build
}

package() {
  cd lp_solve_python_3x/extra/Python
  python ./setup.py install --root="${pkgdir}" --optimize=1
}