Created
August 10, 2019 23:09
-
-
Save bdice/e2f97fd77986e9b6268db22acffe6197 to your computer and use it in GitHub Desktop.
Arch PKGBUILD for python-vispy with JS submodule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=python-vispy | |
pkgver=v0.6.1 | |
pkgrel=2 | |
pkgdesc='A high-performance interactive 2D/3D data visualization library.' | |
arch=('any') | |
url='http://vispy.org' | |
license=('BSD') | |
depends=('python-numpy') | |
optdepends=('pyside2: a possible backend' | |
'python-pyqt5: a possible backend') | |
source=("git://github.com/vispy/vispy.git#tag=$pkgver" | |
"git://github.com/vispy/vispy.js.git") | |
md5sums=('SKIP' | |
'SKIP') | |
prepare() { | |
cd "$srcdir/vispy" | |
git submodule init | |
git config submodule.js.url $srcdir/vispy.js | |
git submodule update | |
} | |
build() { | |
cd "$srcdir/vispy" | |
python setup.py build | |
} | |
package() { | |
cd "$srcdir/vispy" | |
python setup.py install --root="$pkgdir/" --optimize=1 | |
install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment