aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-latex/APKBUILD
blob: e9b6a4c37ee3924a40bc91b34a27099cc1d3c712 (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
36
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-latex
pkgver=3.32.0
pkgrel=0
pkgdesc="LaTeX editor for the GNOME desktop"
url="https://wiki.gnome.org/Apps/GNOME-LaTeX"
arch="all !x86 !ppc64le" # Needs texlive during runtime, which isn't available
license="GPL-3.0-or-later"
depends="texlive"
makedepends="glib-dev intltool itstool vala yelp gobject-introspection-dev
	gsettings-desktop-schemas-dev gspell-dev gtk+3.0-dev libgee-dev
	gtksourceview4-dev tepl-dev dconf-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnome-latex/${pkgver%.*}/gnome-latex-${pkgver}.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="6b67302327318ccd9d307f271fd84e4cd550883f322d4b0e47b6425d9dd509c96dddeb0e690cca4fffddc1d5ebbc3dfd3e38cbe9985eda520110d9a768ef83d0  gnome-latex-3.32.0.tar.xz"