summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d779927c6fc315601e89f4a000f1bf509e0fbcd0 (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
# Maintainer: Pablo Moyano (p4block)
pkgname=net2plan
pkgver=0.6.6.0
_pkgver=0.6.6.0
_pkgzip=0.6.6.0
pkgrel=1
pkgdesc='Java tool for planning, optimizing and evaluating communication networks.'
arch=('x86_64')
url='https://github.com/girtel/Net2Plan'
license=('GPL3')
depends=('glpk' 'coin-or-ipopt' 'jdk8-openjdk')
source=("https://github.com/girtel/Net2Plan/releases/download/${_pkgver}/net2plan-${_pkgzip}.zip")
md5sums=('67c37ca079ba38d52bb8ad7e47ce5cda')

package() {
	mkdir $pkgdir/opt
	cp -r "${srcdir}/Net2Plan-${_pkgzip}/"	"${pkgdir}/opt/net2plan"
	
	install -Dm755 ../net2plan.sh		"${pkgdir}/usr/bin/net2plan"
	install -Dm755 ../net2plan-cli.sh	"${pkgdir}/usr/bin/net2plan-cli"

	install -Dm644 ../net2plan.desktop	"${pkgdir}/usr/share/applications/net2plan.desktop"	
	install -Dm644 ../net2plan.png		"${pkgdir}/usr/share/pixmaps/net2plan.png"
}