blob: ca00ce58ae5ce9cfbce566c0e659b36a080a5779 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gns3-gui
pkgver=1.5.2
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"
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
}
md5sums="6b187e2d4c7880d2f361b1e39cf7e0fd gns3-gui-1.5.2.tar.gz"
sha256sums="23bf516ca76fe3ec6b43fecb2113256491f1ae04c2b1bfb8b0655a69f96335e8 gns3-gui-1.5.2.tar.gz"
sha512sums="420ca3560161913023bf1fea6c48f7ef5f18489e8500ec1daba2022b1840288277692b78432a55291cea2cf28d296f5ce96b79f5feefd6fa30ab550d4a02065e gns3-gui-1.5.2.tar.gz"
|