diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/dia/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/dia/PKGBUILD')
-rw-r--r-- | community/dia/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/dia/PKGBUILD b/community/dia/PKGBUILD new file mode 100644 index 000000000..89c7f852e --- /dev/null +++ b/community/dia/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 32607 2010-11-15 15:15:59Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: +# Contributor: Juergen Hoetzel <juergen@archlinux.org> +# Contributor: Gregor Ibic <gregor.ibic@intelicom.si> + +pkgname=dia +pkgver=0.97.1 +pkgrel=3 +pkgdesc="A GTK+ based diagram creation program" +arch=('i686' 'x86_64') +license=('GPL') +url="http://live.gnome.org/Dia" +install=dia.install +depends=('libxslt' 'desktop-file-utils' 'libart-lgpl' 'gtk2') +makedepends=('intltool' 'python2' 'docbook-xsl') +optdepends=('python2') +options=('!libtool') +source=("ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.97/${pkgname}-${pkgver}.tar.bz2" + "dia-overflow-fix.patch") +md5sums=('57e44bb9f387559a0506b52a134deaf0' + '8fd9a2ad35b5a6fd8c758d7c73dbfe66') +md5sums=('57e44bb9f387559a0506b52a134deaf0' + '8fd9a2ad35b5a6fd8c758d7c73dbfe66') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + export PYTHON=/usr/bin/python2 + sed -i 's#python2\.1#python2 python2.1#' configure + patch -p1 <$srcdir/dia-overflow-fix.patch + + ./configure --prefix=/usr \ + --enable-db2html \ + --with-cairo \ + --with-python \ + --disable-gnome + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |