diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-17 15:07:05 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-17 15:07:12 +0000 |
commit | f34759954376a6afc9b75d14d4ea35cb1a99d263 (patch) | |
tree | bfc138c4e58d4c8d6129c50b9a8a8d511228ff80 /community/gns3-gui | |
parent | d95f12a68a3f2af67c0f92af3ca92d93414a0e80 (diff) | |
download | aports-f34759954376a6afc9b75d14d4ea35cb1a99d263.tar.bz2 aports-f34759954376a6afc9b75d14d4ea35cb1a99d263.tar.xz |
community/gns3-gui: upgrade to 1.5.4, modernize APKBUILD
Diffstat (limited to 'community/gns3-gui')
-rw-r--r-- | community/gns3-gui/APKBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/community/gns3-gui/APKBUILD b/community/gns3-gui/APKBUILD index a8d04fc54a..43263dfadb 100644 --- a/community/gns3-gui/APKBUILD +++ b/community/gns3-gui/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=gns3-gui -pkgver=1.5.3.3 -pkgrel=1 +pkgver=1.5.4 +pkgrel=0 pkgdesc="GNS3 network simulator. Graphical user interface package." url="https://github.com/GNS3/gns3-gui" arch="noarch" @@ -10,23 +10,25 @@ 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 + +check() { + cd "$builddir" + python3 setup.py check +} + build() { cd "$builddir" - python3 setup.py build || return 1 + 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}/LICENS + install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } -md5sums="164aed58ff09a5e1fcf6fc7af14acf27 gns3-gui-1.5.3.3.tar.gz" -sha256sums="c748f3686f8a30426d9269e5198c45ab8f5c0621de14f645ff054d8b4a43bd96 gns3-gui-1.5.3.3.tar.gz" -sha512sums="a8bfba10fae41dcdc0f2f64b097efd3b12689d023ff04d10b9f178bd5f29402e70bcfb9c5ece79813c6a8523a753e08f1d1a08a20783c9147ce93b56896bc348 gns3-gui-1.5.3.3.tar.gz" +sha512sums="3c63d379f6f76cf68da95ee89b7ff5a9b756e850630297f4b61754f29a9e5f80d8f501bf62ac31bd213647e7f9cb9d644da10662150a8246b0579f4514f68581 gns3-gui-1.5.4.tar.gz" |