summaryrefslogtreecommitdiff
path: root/community/diacanvas/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/diacanvas/PKGBUILD')
-rw-r--r--community/diacanvas/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/diacanvas/PKGBUILD b/community/diacanvas/PKGBUILD
new file mode 100644
index 000000000..06b34d4e1
--- /dev/null
+++ b/community/diacanvas/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 29281 2010-10-12 16:17:20Z foutrelis $
+# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=diacanvas
+pkgver=0.15.4
+pkgrel=6
+pkgdesc="Library for drawing diagrams"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/diacanvas"
+license=('LGPL')
+depends=('libgnomecanvas' 'libgnomeprint' 'gnome-python')
+makedepends=('libgnomeprintui')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/$pkgname/${pkgname}2_$pkgver.tar.gz
+ 'override-fix.patch')
+md5sums=('2fc8a3447eb92636a7c73e240431e00a' '02c2f6cb7e1dfa43555eb1f5ce0fd0cd')
+
+build() {
+ cd "$srcdir/${pkgname}2-$pkgver"
+ patch -Np1 -i ../override-fix.patch
+ ./configure --prefix=/usr --enable-python=yes
+ make
+ make DESTDIR="$pkgdir" install
+}