summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 910ba803d617788e02dff31997025147fb68c797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# PKGBUILD generated by pipman
# Python package author: Johnny Chan <>
# AUR package author: Robin Trioux <robin@trioux.eu>

pkgname=python-nodegraphqt
pkgver=0.6.35
pkgrel=1
pkgdesc="Node graph framework for PySide2/PyQt5"
arch=(any)
url="https://github.com/jchanvfx/NodeGraphQt"
license=(MIT License)
makedepends=("python" "python-pip")
depends=("python-qt.py")
build() {
  pip install --no-deps --target="NodeGraphQt" NodeGraphQt==0.6.35
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/NodeGraphQt/* $pkgdir/"$sitepackages"
}