summaryrefslogtreecommitdiff
path: root/community/diacanvas/PKGBUILD
blob: 7bea06d0d10b849a3cb42366b3cfa17d0460c2da (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
# $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' 'mips64el')
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
}