blob: a45904640b5fe3540a9ef7ffdf5c9a23f5e3af62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gns3-gui
pkgver=2.0.1
pkgrel=0
pkgdesc="GNS3 network simulator. Graphical user interface package."
url="https://github.com/GNS3/gns3-gui"
arch="noarch"
license="GPL3"
depends="python3 py3-paramiko gns3-converter py3-psutil py3-jsonschema
py3-raven py3-qt5 qt5-qtsvg"
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
check() {
cd "$builddir"
python3 setup.py check
}
build() {
cd "$builddir"
python3 setup.py build
}
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="f464a3035df7768a485c496efb4eed4ab5ff90d25551b7cd63a938b7dc576726d716950b32315ee8d5b080756b99ee30753cd19db0b25b77840ceaed94e65f0a gns3-gui-2.0.1.tar.gz"
|