summaryrefslogtreecommitdiff
path: root/community/dia/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dia/PKGBUILD')
-rw-r--r--community/dia/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/dia/PKGBUILD b/community/dia/PKGBUILD
index 106c0ec9b..ed33f7837 100644
--- a/community/dia/PKGBUILD
+++ b/community/dia/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=dia
pkgver=0.97.2
pkgrel=3
pkgdesc="A GTK+ based diagram creation program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://live.gnome.org/Dia"
install=dia.install
@@ -17,13 +17,15 @@ makedepends=('intltool' 'python2' 'docbook-xsl')
optdepends=('python2')
options=('!libtool' 'docs' '!emptydirs')
source=("ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.97/${pkgname}-${pkgver}.tar.xz"
- "dia-overflow-fix.patch")
+ "dia-overflow-fix.patch"
+ "dia-0.97.2-glib.patch")
md5sums=('1e1180a513fb567709b09bc19f12105e'
- '8fd9a2ad35b5a6fd8c758d7c73dbfe66')
+ '8fd9a2ad35b5a6fd8c758d7c73dbfe66'
+ '430d39de524c112f39a4bd9801038b05')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
-
+ patch -Np1 -i ${srcdir}/dia-0.97.2-glib.patch
export PYTHON=/usr/bin/python2
for file in `find -type f -name '*.py'`; do
sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' "$file"