diff options
author | Guillaume Horel | 2017-09-05 16:07:16 -0400 |
---|---|---|
committer | Guillaume Horel | 2017-09-05 16:07:28 -0400 |
commit | 39c42912490249e72a956adb47ff8c8c9b561596 (patch) | |
tree | a0515e3af8ef4beaf88ccde6b8c6be69c4c2ff86 /PKGBUILD | |
parent | 3227a7af3d013c56cf66b92667bf59b08998b810 (diff) | |
download | aur-39c42912490249e72a956adb47ff8c8c9b561596.tar.gz |
version bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgname=('python-scs') -_module='scs' -pkgver='1.2.6' +_pkgname='scs' +pkgver='1.2.7' pkgrel=1 pkgdesc="Convex cone solver via operator splitting." url="http://github.com/cvxgrp/scs/" @@ -8,17 +8,18 @@ depends=('python') makedepends=('python-setuptools') license=('MIT') arch=('i686' 'x86_64') -source=("https://github.com/cvxgrp/scs/archive/v${pkgver}.tar.gz") -sha256sums=('b4bebb43a1257b6e88a5f97c855c0559d6c8a8c0548d3156fc5a28d82bb9533f') +source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + "LICENSE.txt") +sha256sums=('e284517e31bd8aac2e1e022376c46bade26d55ce4ef078cf796a9e70ab2b2433' + '47d0bba3f33546d08d9dea012d70b1362d2e917553bb751183fcf046519fd868') build() { - cd "${srcdir}/${_module}-${pkgver}/python" + cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py build } package() { - cd "${srcdir}/${_module}-${pkgver}" - install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.TXT" - cd "python" + cd "${srcdir}/${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -D -m644 ../../LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt" } |