diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-21 16:19:09 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-21 16:19:09 -0300 |
commit | 6cfdf260dd579c730267c9588c695313279d3fab (patch) | |
tree | 059f1f461cbe4a4ea8b8d1296411f7393cfb4de5 /community/dia/PKGBUILD | |
parent | 6a9002279308864d7a5be176049268c45d87d201 (diff) | |
parent | 1bfe053fe69237a0413f791c7af5515f25264eee (diff) |
Merge branch 'master' of ssh://gparabola/abslibre-mips64el
Diffstat (limited to 'community/dia/PKGBUILD')
-rw-r--r-- | community/dia/PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/community/dia/PKGBUILD b/community/dia/PKGBUILD index a35cb8b85..e8cc28731 100644 --- a/community/dia/PKGBUILD +++ b/community/dia/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 63528 2012-02-05 11:53:40Z ibiru $ +# $Id: PKGBUILD 69446 2012-04-16 11:44:58Z spupykin $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Juergen Hoetzel <juergen@archlinux.org> @@ -6,16 +6,16 @@ pkgname=dia pkgver=0.97.2 -pkgrel=2 +pkgrel=3 pkgdesc="A GTK+ based diagram creation program" arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://live.gnome.org/Dia" install=dia.install -depends=('libxslt' 'desktop-file-utils' 'libart-lgpl' 'gtk2') +depends=('libxslt' 'desktop-file-utils' 'libart-lgpl' 'gtk2' 'hicolor-icon-theme') makedepends=('intltool' 'python2' 'docbook-xsl') optdepends=('python2') -options=('!libtool' 'docs') +options=('!libtool' 'docs' '!emptydirs') source=("ftp://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.97/${pkgname}-${pkgver}.tar.xz" "dia-overflow-fix.patch") md5sums=('1e1180a513fb567709b09bc19f12105e' @@ -25,6 +25,9 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" 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" + done sed -i 's#python2\.1#python2 python2.1#' configure # patch -p1 <$srcdir/dia-overflow-fix.patch @@ -44,5 +47,5 @@ package() { make DESTDIR="${pkgdir}" install cd doc make DESTDIR="${pkgdir}" install-html - ln -sf dia/html "${pkgdir}"/usr/share/dia/help + ln -sf ../doc/dia/html "${pkgdir}"/usr/share/dia/help } |