pkgname=kile pkgver=2.1.3 pkgrel=5 pkgdesc="A user friendly TeX/LaTeX frontend for KDE." arch=("x86_64") license=('GPL2') url="http://kile.sourceforge.net/" screenshot="http://kile.sourceforge.net/images/screenshots/snap_structureview.png" depends=('kdelibs' 'texlive-core' 'docbook-xsl' 'kde-baseapps-katepart') makedepends=('cmake' 'automoc4') categories=('office') install=kile.install source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2") md5sums=('f3129e73eea21890c40781de80b44808') build() { cd ${srcdir} mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd ${srcdir}/build make DESTDIR=$pkgdir install }