updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / latexila / PKGBUILD
blobe35f60fc28177dcca2d25c40fadd28008a6c4d74
1 # Maintainer: Bernd PrĂ¼nster <bernd.pruenster@gmail.com>
2 pkgname=latexila
3 provides=('latexila')
4 conflicts=('latexila-beta')
5 pkgver=2.2.2
6 pkgrel=5
7 install=latexila.install
8 pkgdesc="LaTeXila, a LaTeX editor designed for the GNOME desktop"
9 arch=('i686' 'x86_64')
10 url="http://latexila.sourceforge.net"
11 license=("GPL")
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')
18 build() {
19         cd ${srcdir}/${pkgname}-${pkgver}/build
21         cmake -DCMAKE_INSTALL_PREFIX=/usr ../ || return 1
22         make  || 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