PKGBUILDs/extra/kile/PKGBUILD

31 lines
942 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 44963 2009-07-05 20:50:43Z giovanni $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor : Damir Perisa <damir.perisa@bluewin.ch>
pkgname=kile
pkgver=2.0.3
pkgrel=3
pkgdesc="A user friendly TeX/LaTeX frontend for KDE."
arch=("i686" "x86_64")
license=('GPL2')
url="http://kile.sourceforge.net/"
depends=('kdelibs3>=3.5.8' 'texlive-core' 'psutils' 'perl')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2" \
kde4_tools.patch)
options=(!emptydirs)
md5sums=('f0296547d3e916dd385e0b8913918852'
'561a9b87fda781e0fe8db5d4ad7e5d63')
build() {
cd $srcdir/$pkgname-$pkgver
. /etc/profile.d/qt3.sh
. /etc/profile.d/kde3.sh
patch -Np0 -i $srcdir/kde4_tools.patch || return 1
./configure --prefix=/opt/kde --without-arts --disable-debug
make || return 1
make prefix=$pkgdir/opt/kde install
rm $pkgdir/opt/kde/share/apps/katepart/syntax/{bibtex,latex}.xml
}