aboutsummaryrefslogtreecommitdiffstats
path: root/community/tepl/APKBUILD
blob: 440b1da993b12e6d1aab9fb85815d82731c57f33 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=tepl
pkgver=6.00.0
pkgrel=0
pkgdesc="Text editor product line"
url="https://wiki.gnome.org/Projects/Tepl"
arch="all !s390x !mips !mips64" # Limited by gtksourceview4
license="GPL-3.0-or-later"
makedepends="amtk-dev glib-dev gtksourceview4-dev gtk+3.0-dev libxml2-dev
	uchardet-dev vala gobject-introspection-dev meson gtk-doc"
checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/tepl/${pkgver%.*}/tepl-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Dgtk_doc=true \
		. output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	xvfb-run meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="e36877b9f33943715a50546d82ed61e65fc07b71dca2c85ff350a305767e96eda74dc14f30b2a430e14deacd4ee8d49697fe01df1f5023afab3747e5e9c95e2e  tepl-6.00.0.tar.xz"