1 # Maintainer: Bernd PrĂ¼nster <bernd.pruenster@gmail.com>
4 conflicts=('latexila-beta')
7 install=latexila.install
8 pkgdesc="LaTeXila, a LaTeX editor designed for the GNOME desktop"
10 url="http://latexila.sourceforge.net"
12 depends=('libgee' 'libunique' 'hicolor-icon-theme' 'gtksourceview2' 'dconf')
13 makedepends=('cmake' 'itstool')
14 optdepends=('gsettings-desktop-schemas')
15 source=("http://ftp.gnome.org/pub/GNOME/sources/latexila/2.2/latexila-${pkgver}.tar.xz")
16 sha256sums=('fa4cc9ea4ef7c0e0f9255b9c2629e770fe7004a02cf0e30fdcd7f943335aaa2b')
19 cd ${srcdir}/${pkgname}-${pkgver}/build
21 cmake -DCMAKE_INSTALL_PREFIX=/usr ../ || return 1
23 make DESTDIR="${pkgdir}/" install || return 1
25 mkdir -p "$pkgdir"/usr/share/{applications,pixmaps}
26 install -Dm644 ../data/images/app/icon48.png \
27 "$pkgdir"/usr/share/pixmaps/$pkgname.png || return 1
28 install -m644 ../data/$pkgname.desktop \
29 "$pkgdir"/usr/share/applications/ || return 1