aboutsummaryrefslogtreecommitdiffstats
path: root/community/gns3-converter/APKBUILD
blob: 04e739f18ca0a12462e8fd23edb58937387149c9 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gns3-converter
pkgver=1.3.0
pkgrel=5
pkgdesc="GNS3 topology converter."
url="https://github.com/dlintott/gns3-converter"
arch="noarch"
license="GPL-3.0"
depends="py3-cx_freeze py3-six py3-configobj python3"
makedepends="python3-dev"
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
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ac2e44b3f02c8f0429158e11c964bf342973809139dcf34863071905400964006d7adbc3ddb80efe57a5ecc5eaf59e228bf7d07a7e5776dd6bcf51b4e1d3fe57  gns3-converter-1.3.0.tar.gz"