summaryrefslogtreecommitdiff
path: root/community/dia/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dia/PKGBUILD')
-rw-r--r--community/dia/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/community/dia/PKGBUILD b/community/dia/PKGBUILD
index 929b7f13c..c6597a9ac 100644
--- a/community/dia/PKGBUILD
+++ b/community/dia/PKGBUILD
@@ -1,11 +1,12 @@
-# $Id: PKGBUILD 49059 2011-06-10 08:42:06Z spupykin $
+# $Id: PKGBUILD 57536 2011-10-30 12:24:25Z ttopper $
+# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Gregor Ibic <gregor.ibic@intelicom.si>
pkgname=dia
pkgver=0.97.1
-pkgrel=4
+pkgrel=5
pkgdesc="A GTK+ based diagram creation program"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
@@ -25,7 +26,7 @@ build() {
export PYTHON=/usr/bin/python2
sed -i 's#python2\.1#python2 python2.1#' configure
- patch -p1 <$srcdir/dia-overflow-fix.patch || true
+ patch -p1 <$srcdir/dia-overflow-fix.patch
./configure --prefix=/usr \
--with-cairo \
@@ -34,12 +35,14 @@ build() {
--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
+ 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
+ cd doc
+ make DESTDIR="${pkgdir}" install-html
+ ln -sf dia/html "${pkgdir}"/usr/share/dia/help
}