diff options
Diffstat (limited to 'extra/kile')
-rw-r--r-- | extra/kile/PKGBUILD | 32 | ||||
-rw-r--r-- | extra/kile/kile.install | 11 |
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/kile/PKGBUILD b/extra/kile/PKGBUILD new file mode 100644 index 000000000..5e2987a07 --- /dev/null +++ b/extra/kile/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 108891 2011-02-04 17:44:40Z ronald $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor : Damir Perisa <damir.perisa@bluewin.ch> + +pkgname=kile +pkgver=2.1b5 +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' 'docbook-xml' 'docbook-xsl') +install=kile.install +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2") +sha1sums=('ee805e5210474d42344d690d24383adaad1d8842') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + make DESTDIR=$pkgdir install +} diff --git a/extra/kile/kile.install b/extra/kile/kile.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/extra/kile/kile.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |