1 # Contributor: Dan McGee <dpmcgee@gmail.com>
6 pkgdesc="monotone-viz is a small GTK+ app to visualize monotone ancestory graphs"
7 url="http://oandrieu.nerim.net/monotone-viz/"
11 depends=('monotone' 'graphviz' 'gtk2' 'libgnomecanvas' 'lablgtk2' 'openssl')
12 source=(http://oandrieu.nerim.net/$pkgname/$pkgname-$pkgver-nolablgtk.tar.gz \
13 monotone-viz.desktop monotone-viz.png )
14 md5sums=('fd08341b456c80d03d7d21c989a1e813' '0858982f070527a40e5c730b0bd6fafb'\
15 '30162a3fca63f922bbc4150ead1dbb0a')
18 cd $startdir/src/$pkgname-$pkgver
19 # some patches to make it work with monotone >= 0.46 and graphviz
20 patch -p0 < $startdir/monotone-viz-0_46.patch || return 1
21 patch -p1 < $startdir/monotone-viz-agraph.patch || return 1
23 ./configure --prefix=/usr --sysconfdir=/etc
25 make DESTDIR=$startdir/pkg install
27 #install freedesktop files
28 mkdir -p $startdir/pkg/usr/share/{applications,pixmaps}
29 install -m644 $startdir/src/monotone-viz.desktop $startdir/pkg/usr/share/applications/monotone-viz.desktop
30 install -m644 $startdir/src/monotone-viz.png $startdir/pkg/usr/share/pixmaps/monotone-viz.png