mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
27 lines
788 B
Bash
27 lines
788 B
Bash
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
||
|
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
|
||
|
# Contributor: William Rea <sillywilly@gmail.com>
|
||
|
|
||
|
pkgname=diacanvas
|
||
|
pkgver=0.15.4
|
||
|
pkgrel=3
|
||
|
pkgdesc="Library for drawing diagrams"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://sourceforge.net/projects/diacanvas"
|
||
|
license=('LGPL')
|
||
|
depends=('gnome-python' 'libgnomecanvas' 'libgnomeprint')
|
||
|
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 || return 1
|
||
|
|
||
|
./configure --prefix=/usr --enable-python=yes
|
||
|
make || return 1
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
}
|