APKBUILD 1.29 KB
Newer Older
1 2 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gns3-gui
4 5
pkgver=1.5.3
pkgrel=0
6 7 8 9
pkgdesc="GNS3 network simulator. Graphical user interface package."
url="https://github.com/GNS3/gns3-gui"
arch="noarch"
license="GPL3"
10
depends="python3 py3-paramiko gns3-converter py3-psutil py3-jsonschema
11
	py3-raven py3-qt5 qt5-qtsvg"
12
makedepends="python3-dev py-setuptools"
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
install=""
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 || return 1
}

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}/LICENS
}

30 31 32
md5sums="b59485981f303f1651c2a5b2b446c665  gns3-gui-1.5.3.tar.gz"
sha256sums="446fdc87d884fb24f879b8bba862dc43b92b6f859edefcd22f8682bdac61bec4  gns3-gui-1.5.3.tar.gz"
sha512sums="64f3f3bebc8c0446962255136c88cbed1b2b4b1591858780e18ba688b2aeb0ed37e33e9f27228baa1a39d4e92e1366e6363b5ef29078de6b8a8f0d520057b3b5  gns3-gui-1.5.3.tar.gz"