APKBUILD 1.08 KB
Newer Older
1 2 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gns3-gui
4
pkgver=2.2.3
5
pkgrel=1
6 7
pkgdesc="GNS3 network simulator. Graphical user interface package."
url="https://github.com/GNS3/gns3-gui"
8 9
arch="noarch !armhf" # armhf blocked by py3-qt5 -> qt5-qtdeclarative
license="GPL-3.0-or-later"
10
depends="python3 py3-psutil-gns3 py3-jsonschema-gns3 py3-raven
11
py3-qt5 qt5-qtsvg py3-sip"
12
makedepends="python3-dev py-setuptools"
13
subpackages="$pkgname-doc"
14
source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/gns3-gui/archive/v$pkgver.tar.gz"
15

16 17
build() {
	python3 setup.py build
18 19
}

20 21
check() {
	python3 setup.py check
22 23 24
}

package() {
25 26 27
	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
28 29
}

30
sha512sums="8216f5d2e5ed44655254a6a457ec5073e44f6266ec77c1a80d1695eb6939dc5594d066a84b501b94ab8124a55d8a74ebec39b6e2c9c2378e85c03aa91413d433  gns3-gui-2.2.3.tar.gz"