summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0ab6680380f6ad0e80562488c20fe6fb638ab31a (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
# Maintainer: Johan Manuel <johan29.manuel at gmail dot com>
pkgname=tina-tpn
pkgver=3.5.0
pkgrel=0
pkgdesc="TIme Petri Net Analyzer"
arch=('x86_64')
url="http://projects.laas.fr/tina/home.php"
license=('unknown')
depends=(gmp graphviz)
options=(!strip)
source=("http://projects.laas.fr/tina/binaries/tina-$pkgver-$arch-linux.tar.gz")
md5sums=('4aeeda8dca7f1cb98f0ce6206bfc3891')

package() {
	cd "tina-$pkgver"

	cd doc/man/mann
	for f in *.n; do
		mv -- "$f" "${f%.n}.1"
	done
	cd ../../..

	mkdir -p "$pkgdir/usr/lib" "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1"
	cp -r $(find bin | grep -Ev 'dot|circo|neato') "$pkgdir/usr/bin"
	cp -r lib/libpol* "$pkgdir/usr/lib"
	cp -r doc/man/mann/* "$pkgdir/usr/share/man/man1"
}