blob: a327a73b0f205d4556b08e72ea519c9d179642e8 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $Id: PKGBUILD 98571 2013-10-14 07:10:01Z bisson $
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: Max a.k.a. Synthead <synthead@gmail.com>
# Contributor: christhemonkey <christhemonkey at gmail dot com>
pkgname=flowcanvas
pkgver=0.7.1
pkgrel=4
pkgdesc="Gtkmm/Gnomecanvasmm widget for boxes-and-lines style environments"
arch=('i686' 'x86_64')
url="http://drobilla.net/software/flowcanvas/"
depends=('libgnomecanvasmm' 'graphviz>=2.34')
makedepends=('boost' 'python2')
license=('GPL')
install=$pkgname.install
source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2"
"graphviz-2.30.patch")
md5sums=('a4908f6385ce9fd2ce97c8caa823f053'
'e5b2b23d8be0c9fa14b8b52379a15155')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# graphviz 2.30 compatibility
# see http://dev.drobilla.net/ticket/888
# adapted from FreeBSD patch (just stripped their stuff)
# potentially unstable (nothing committed by developer yet)
# may have to incorporate proposed patch for ganv (successor to this lib)
patch -Np0 -i "$srcdir/graphviz-2.30.patch"
}
build() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf configure --prefix=/usr
python2 waf build $MAKEFLAGS
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python2 waf install --destdir="$pkgdir"
}
# vim:set ts=2 sw=2 et:
|