summaryrefslogtreecommitdiff
path: root/community-testing/dia/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/dia/PKGBUILD')
-rw-r--r--community-testing/dia/PKGBUILD48
1 files changed, 0 insertions, 48 deletions
diff --git a/community-testing/dia/PKGBUILD b/community-testing/dia/PKGBUILD
deleted file mode 100644
index 43f9da7e9..000000000
--- a/community-testing/dia/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 63068 2012-01-30 18:53:45Z ibiru $
-# 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.2
-pkgrel=2
-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' 'docs')
-source=("ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.97/${pkgname}-${pkgver}.tar.xz"
- "dia-overflow-fix.patch")
-md5sums=('1e1180a513fb567709b09bc19f12105e'
- '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 \
- --with-cairo \
- --with-python \
- --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 dia/html "${pkgdir}"/usr/share/dia/help
-}