diff options
author | Adrià Cabello | 2023-09-15 17:50:03 +0200 |
---|---|---|
committer | Adrià Cabello | 2023-09-15 17:50:03 +0200 |
commit | 66e616a8090b1a936198d7afad1c3b93401fa177 (patch) | |
tree | 79eff089e58e6bbbdeb2283fd39fa119c734d9b3 /PKGBUILD | |
download | aur-66e616a8090b1a936198d7afad1c3b93401fa177.tar.gz |
Initial Upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6969db73295d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Maintainer: Adrià Cabello <adro.cc79 at protonmail dot com> + +pkgname=quiltix +_name=QuiltiX +pkgver=0.4.2 +pkgrel=1 +pkgdesc="QuiltiX is a graphical node editor to edit, and author MaterialX based materials of 3D assets" +arch=('x86_64') +url="https://github.com/PrismPipeline/QuiltiX" +license=('Apache') +arch=('any') +depends=(usd + materialx + python-qt.py + python + pyside2 + python-pyqt5 + ) + +source=(git+$url.git#tag=v$pkgver-beta + git+https://github.com/manuelkoester/NodeGraphQt.git#branch=develop + $pkgname.desktop + $pkgname) +sha256sums=('SKIP' + 'SKIP' + 'fb5049cbae6eefd067c50e3ae3aa85e45b7b94da10e6af267bdfe5f317e74eee' + '15aec531df344870fe6a50bece2403a62a17aefcb7d7a2f70d5be584b8e469ee') + +build() { + cd NodeGraphQt + python -m build --wheel --no-isolation + + cd ../$_name + python -m build --wheel --no-isolation +} + +package() { + python -m installer --destdir=${pkgdir} ${srcdir}/NodeGraphQt/dist/*.whl + python -m installer --destdir=${pkgdir} ${srcdir}/$_name/dist/*.whl + + cp -f ${srcdir}/$pkgname ${pkgdir}/usr/bin/$pkgname + + mkdir -p ${pkgdir}/usr/share/licenses/$pkgname + install -Dm644 ${srcdir}/$_name/{LICENSE,NOTICE,THIRD-PARTY.md} $_/ + install -Dm644 ${srcdir}/$_name/src/$_name/resources/icons/$pkgname-logo-x.png ${pkgdir}/usr/share/icons/hicolor/512x512/apps/$pkgname.png + install -Dm755 ${srcdir}/$pkgname.desktop ${pkgdir}/usr/share/applications/$pkgname.desktop + mkdir -p ${pkgdir}/usr/share/doc + mv ${pkgdir}/usr/lib/python3.11/site-packages/examples $_/$_name +} |