# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=gns3-gui pkgver=2.2.16 pkgrel=0 pkgdesc="GNS3 network simulator. Graphical user interface package." url="https://github.com/GNS3/gns3-gui" arch="noarch !armhf" # armhf blocked by py3-qt5 -> qt5-qtdeclarative license="GPL-3.0-or-later" depends="python3 py3-psutil-gns3 py3-jsonschema-gns3 py3-raven py3-qt5 qt5-qtsvg py3-sip py3-sentry-sdk" makedepends="python3-dev py3-setuptools" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/gns3-gui/archive/v$pkgver.tar.gz requirements.patch" build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --root="$pkgdir" --optimize=1 install -Dm644 "$builddir"/resources/images/gns3_icon_256x256.png "$pkgdir"/usr/share/pixmaps/gns3.png install -Dm644 "$builddir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums="336936f73b57848fa16a33a9b20a50495124ab32a10d9995009c20e3d73608dca0fb9f2efc473636795ff117682b2a67b707805abf0e1fffec4ddfdab2575bc9 gns3-gui-2.2.16.tar.gz 84bea47705832cd8195d3bda2992c606303648bf8c9ce92452dbcc6ae645985f9df1c09aef228cec5a1eac56cc04f9523e55e3fdf874f1573a45ff9ba5b8761a requirements.patch"