summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4f869205950
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+pkgname=('python-scs')
+_module='scs'
+pkgver='1.2.6'
+pkgrel=1
+pkgdesc="Convex cone solver via operator splitting."
+url="http://github.com/cvxgrp/cvxpy/"
+depends=('python')
+makedepends=('python-setuptools')
+license=('MIT')
+arch=('i686' 'x86_64')
+source=("https://github.com/cvxgrp/scs/archive/v${pkgver}.tar.gz")
+sha256sums=('b4bebb43a1257b6e88a5f97c855c0559d6c8a8c0548d3156fc5a28d82bb9533f')
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}/python"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT"
+ cd "python"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}