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

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

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

package() {
	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
27
	install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
28 29
}

30
sha512sums="8bc72b83e774fda1caf2659315c33f0ffa54e01f4b5b054210b6cb52778a6b018120f40a38a3f71c050844ef176583580097814014b36e5ceb632c644103e319  gns3-gui-2.2.0.tar.gz"