aboutsummaryrefslogtreecommitdiffstats
path: root/community/gns3-gui/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gns3-gui/APKBUILD')
-rw-r--r--community/gns3-gui/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/gns3-gui/APKBUILD b/community/gns3-gui/APKBUILD
new file mode 100644
index 0000000000..c95e8a55bc
--- /dev/null
+++ b/community/gns3-gui/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=gns3-gui
+pkgver=1.5.1
+pkgrel=2
+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="a5697f86fdf4761081df2d149f16138a gns3-gui-1.5.1.tar.gz"
+sha256sums="9e13a3c9c4ca6bf71da5113e8b4f5acdf354ecee4cd34ecdae34a4980c2f3b80 gns3-gui-1.5.1.tar.gz"
+sha512sums="5bde8d6b7a3e8fd117a32142e42f312258b4dd808cf9d76e9da292ee23896056915e6c1e6cc9b2e2b78bd564ab145b12d3616d24108f4ea37505981f1fcca21f gns3-gui-1.5.1.tar.gz"