summaryrefslogtreecommitdiff
path: root/community/dia
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-13 19:51:35 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-13 19:51:35 -0300
commita552e7fe41f2145b6e785ce03c6b2d8920ab7b43 (patch)
treec938070c363db70f111d058c4fccc781ff0dea0b /community/dia
parent0a15db3fa6f40e080010ab6c553b1ce9e32db4a9 (diff)
parent7c64c5039335c73eaa1a402c417235e8ca9a5109 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/emesene/PKGBUILD community/minidlna/PKGBUILD community/uzbl/PKGBUILD community/virtualbox/PKGBUILD extra/lirc/PKGBUILD libre/pacman/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD testing/mesa/PKGBUILD testing/subversion/PKGBUILD
Diffstat (limited to 'community/dia')
-rw-r--r--community/dia/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/dia/PKGBUILD b/community/dia/PKGBUILD
index 606f2f751..929b7f13c 100644
--- a/community/dia/PKGBUILD
+++ b/community/dia/PKGBUILD
@@ -1,12 +1,11 @@
-# $Id: PKGBUILD 32607 2010-11-15 15:15:59Z spupykin $
+# $Id: PKGBUILD 49059 2011-06-10 08:42:06Z 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
+pkgrel=4
pkgdesc="A GTK+ based diagram creation program"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
@@ -15,30 +14,32 @@ install=dia.install
depends=('libxslt' 'desktop-file-utils' 'libart-lgpl' 'gtk2')
makedepends=('intltool' 'python2' 'docbook-xsl')
optdepends=('python2')
-options=('!libtool')
+options=('!libtool' 'docs')
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
+ patch -p1 <$srcdir/dia-overflow-fix.patch || true
./configure --prefix=/usr \
- --enable-db2html \
--with-cairo \
--with-python \
- --disable-gnome
+ --disable-gnome \
+ --with-hardbooks
+ sed -i 's#SUBDIRS = lib objects plug-ins shapes app bindings samples po sheets data doc tests installer#SUBDIRS = lib objects plug-ins shapes app bindings samples po sheets data tests installer#' Makefile
make
+ cd doc && make html
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
+ cd doc && make DESTDIR="${pkgdir}" install-html
+ ln -sf ../doc/dia/html $pkgdir/usr/share/dia/help
}