blob: e2af7d6616ade2b147e0d0ff92a0c6cd7d24ec27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Tobias Bohrmann (PlainTextField) <honeypot.carbage@aechelon.de>
# Contributor: Bernd PrĂ¼nster (JesusMcCloud) <aur@berndpruenster.org>
pkgname=latexila
provides=('latexila')
conflicts=('latexila-git')
pkgver=3.24.0
pkgrel=1
pkgdesc="A LaTeX editor designed for the GNOME desktop"
arch=('i686' 'x86_64')
url="http://projects.gnome.org/latexila/"
license=('GPL3')
depends=('gtk3' 'gtksourceview3' 'libgee' 'gettext' 'hicolor-icon-theme'
'gspell' 'dconf' 'gsettings-desktop-schemas' 'gtef')
optdepends=('yelp: for viewing help files')
makedepends=('intltool' 'itstool' 'python' 'vala')
source=("http://ftp.gnome.org/pub/GNOME/sources/latexila/${pkgver%.*}/latexila-${pkgver}.tar.xz")
sha256sums=('2c47d6bf0a647715a3029af2b38099e9dac0c4a0a60c122917b36afd3f6ce31f')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# currently not needed, but might be again in the future
# export ac_cv_path_VALAC=""
./configure --prefix=/usr
make || return 1
}
package(){
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}/" install
mkdir -p "$pkgdir"/usr/share/{applications,pixmaps}
install -Dm644 "data/icons/48x48/apps/latexila.png" "$pkgdir"/usr/share/pixmaps/$pkgname.png
install -m644 data/org.gnome.$pkgname.desktop "$pkgdir"/usr/share/applications/
}
|