# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=gns3-gui pkgver=2.1.6 pkgrel=1 pkgdesc="GNS3 network simulator. Graphical user interface package." url="https://github.com/GNS3/gns3-gui" arch="noarch" license="GPL-3.0" depends="python3 py3-paramiko py3-psutil py3-jsonschema py3-raven py3-qt5 qt5-qtsvg py3-sip py3-configparser" makedepends="python3-dev py-setuptools" subpackages="$pkgname-doc" source="${pkgname}-${pkgver}.tar.gz::https://github.com/GNS3/${pkgname}/archive/v${pkgver}.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 setup.py check } package() { cd "$builddir" python3 setup.py install --root=${pkgdir} --optimize=1 install -Dm644 ${srcdir}/${pkgname}-${pkgver}/resources/images/gns3_icon_256x256.png ${pkgdir}/usr/share/pixmaps/gns3.png install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } sha512sums="5f872ffe3cd56d88018cd91da058286f53cebc03c599c9087d72fbf03f91a200bda24d0c2e17d50b33041e72982a380d45b7d796a7d4eaf9489d89216c62fbb9 gns3-gui-2.1.6.tar.gz"