updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / latexila-beta / PKGBUILD
blobd36e0def5cf132a0061d0094fd40aa273526060c
1 # Maintainer: Bernd PrĂ¼nster <bernd.pruenster@gmail.com>
2 pkgname=latexila-beta
3 _pkgname=latexila
4 provides=('latexila')
5 pkgver=1.99.1
6 pkgrel=1
7 pkgdesc="LaTeXila, a LaTeX editor designed for the GNOME desktop"
8 arch=('i686' 'x86_64')
9 url="http://latexila.sourceforge.net"
10 license=("GPL")
11 depends=('rubber' 'hicolor-icon-theme' 'gsettings-desktop-schemas-git' 'gtksourceview2')
12 makedepends=(cmake)
13 source=("https://github.com/downloads/swilmet/latexila/${_pkgname}-${pkgver}.tar.gz")
14 md5sums=(32b1dc92dc4014cf868e6e12db552969)
16 build() {
17         cd ${srcdir}/${_pkgname}-${pkgver}
19         cmake -DCMAKE_INSTALL_PREFIX=/usr || return 1
20         make  || return 1
21         make DESTDIR="${pkgdir}/" install || return 1
24     mkdir -p "$pkgdir"/usr/share/{applications,pixmaps}
25     install -Dm644 data/images/app/icon48.png \
26             "$pkgdir"/usr/share/pixmaps/$_pkgname.png || return 1
27     install -m644 data/$_pkgname.desktop \
28             "$pkgdir"/usr/share/applications/ || return 1