diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 22 insertions, 7 deletions
@@ -2,18 +2,33 @@ # Maintainer: Grey Christoforo <grey at christoforo dot net> pkgname=python-cq-editor -pkgver=0.1RC1 +pkgver=0.2 pkgrel=1 -pkgdesc="CadQuery GUI editor based on PyQT" +pkgdesc="CadQuery GUI editor based on spyder" arch=('x86_64') url="https://github.com/CadQuery/CQ-editor" license=('Apache 2.0') -depends=('python-cadquery' 'python-pyqt5' 'python-qtconsole' 'python-logbook' 'python-pyparsing' 'python-pyqtgraph' 'python-path.py' 'python-requests' 'spyder') +depends=( +python-cadquery +python-pyqt5 +python-qtconsole +python-logbook +python-pyparsing +python-pyqtgraph +python-path.py +python-requests +spyder +) makedepends=('python-setuptools') -source=("https://github.com/CadQuery/CQ-editor/archive/${pkgver}.tar.gz") -md5sums=('3e48fb0ead68ebffcaeef24a84999534') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/CadQuery/CQ-editor/archive/${pkgver}.tar.gz") +sha256sums=('4acb02a6b73d3098570da0eb73419728318a08f73b17079b88230f109ee91489') + +build() { + cd CQ-editor-${pkgver} + python setup.py build +} package() { - cd "${srcdir}/CQ-editor-${pkgver}" - python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 + cd CQ-editor-${pkgver} + python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1 --skip-build } |