# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=gns3-server pkgver=1.5.3.3 pkgrel=1 pkgdesc="GNS3 network simulator. Server package." url="https://github.com/GNS3/gns3-server" arch="all" license="GPL3" depends="dynamips python3 py3-psutil py3-jinja2 py3-aiohttp py3-pytest py3-netifaces py3-ws4py py3-zipstream py3-raven py3-jsonschema" depends_dev="" makedepends="$depends_dev py-setuptools python3-dev linux-headers py3-pytest" 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 --prefix=/usr --root="$pkgdir" || return 1 mkdir -p "$pkgdir"/usr/share/doc/$pkgname cat >"$pkgdir"/usr/share/doc/$pkgname/README.alpine <