Commit 6030fcac authored by Manuel Tortosa's avatar Manuel Tortosa

add kile

parent 55342c96
# $Id: PKGBUILD 77213 2010-04-11 13:57:35Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor : Damir Perisa <damir.perisa@bluewin.ch>
pkgname=kile
pkgver=2.1b4
pkgrel=1
pkgdesc="A user friendly TeX/LaTeX frontend for KDE."
arch=("i686" "x86_64")
license=('GPL2')
url="http://kile.sourceforge.net/"
depends=('kdelibs' 'texlive-core')
makedepends=('cmake' 'automoc4')
install=kile.install
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
md5sums=('8585c196b7bff68c5cffb924a98b8783')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=$pkgdir install || return 1
}
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment