summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Springer2018-09-10 12:47:52 +0200
committerStephan Springer2018-09-10 12:47:52 +0200
commit978a342c58a2c571e4398d01a7992f22895836c5 (patch)
treeea52fd3d8a01b35235061a9ae172ade437d9ee74
parentabab12f47a577c10a24ad9269ed4d0b836c1d9ba (diff)
downloadaur-978a342c58a2c571e4398d01a7992f22895836c5.tar.gz
adopt and fix dependencies
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD34
2 files changed, 29 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11ed9fd01a1..c0a50e411a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,12 +6,17 @@ pkgbase = gns3-gui-git
arch = any
groups = gns3
license = GPL3
+ makedepends = git
makedepends = python-setuptools
- depends = python-jsonschema>=2.4.0
- depends = python-raven>=5.23.0
- depends = python-psutil>=2.2.1
+ depends = python-jsonschema
+ depends = gns3-converter
+ depends = python-raven
+ depends = python-psutil
depends = python-pyqt5
+ depends = python-sip
+ depends = qt5-svg
depends = qt5-websockets
+ depends = desktop-file-utils
optdepends = gns3-server-git: GNS3 backend. Manages emulators such as Dynamips, VirtualBox or Qemu/KVM.
optdepends = dynamips: Cisco router emulator.
optdepends = xterm: Default terminal emulator for CLI management of virtual instances.
diff --git a/PKGBUILD b/PKGBUILD
index 62e57590231..c3d604c2b24 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,43 @@
-# Maintainer: Joseph Brains <jnbrains@gmail.com>
+# Maintainer: Stephan Springer <buzo+arch@Lini.de>
+# Contributor: Joseph Brains <jnbrains@gmail.com>
+
_pkgname=gns3-gui
-pkgname=${_pkgname}-git
-pkgver=v2.1.9.r0.g45e00807
+pkgname="$_pkgname"-git
+pkgver=v2.1.9.r25.g3000a9aa
pkgrel=1
pkgdesc='GNS3 network simulator. Graphical user interface package.'
arch=('any')
-url="https://github.com/GNS3/${_pkgname}"
+url='https://github.com/GNS3/gns3-gui'
license=('GPL3')
groups=('gns3')
provides=('gns3-gui')
conflicts=('gns3-gui')
-makedepends=('python-setuptools')
-depends=('python-jsonschema>=2.4.0' 'python-raven>=5.23.0' 'python-psutil>=2.2.1' 'python-pyqt5' 'qt5-websockets')
+makedepends=('git' 'python-setuptools')
+depends=('python-jsonschema' 'gns3-converter' 'python-raven' 'python-psutil'
+ 'python-pyqt5' 'python-sip' 'qt5-svg' 'qt5-websockets' 'desktop-file-utils')
optdepends=('gns3-server-git: GNS3 backend. Manages emulators such as Dynamips, VirtualBox or Qemu/KVM.'
'dynamips: Cisco router emulator.'
'xterm: Default terminal emulator for CLI management of virtual instances.'
'wireshark-gtk: Live packet capture.')
-source=("${_pkgname}::git+git://github.com/GNS3/${_pkgname}.git#branch=2.1"
+source=("$_pkgname::git+git://github.com/GNS3/$_pkgname.git#branch=2.1"
'gns3.desktop')
sha256sums=('SKIP'
'51e6db5b47e6af3d008d85e8c597755369fafb75ddb2af9e79a441f943f4c166')
pkgver() {
- cd ${srcdir}/${_pkgname}
+ cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+build() {
+ cd "$_pkgname"
+ python setup.py build
+}
+
package() {
- cd ${srcdir}/${_pkgname}
- python setup.py install --root=${pkgdir} --optimize=1
- install -Dm644 ${srcdir}/gns3.desktop ${pkgdir}/usr/share/applications/gns3.desktop
- install -Dm644 ${srcdir}/${_pkgname}/resources/images/gns3_icon_256x256.png ${pkgdir}/usr/share/pixmaps/gns3.png
- install -Dm644 ${srcdir}/${_pkgname}/LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE
+ cd "$_pkgname"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 "$srcdir"/gns3.desktop "$pkgdir"/usr/share/applications/gns3.desktop
+ install -Dm644 resources/images/gns3_icon_256x256.png "$pkgdir"/usr/share/pixmaps/gns3.png
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
}