aboutsummaryrefslogtreecommitdiffstats
path: root/community/tepl/APKBUILD
blob: 59d2cf308df54220f9279cbfb4d4459ee62ee9e2 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=tepl
pkgver=4.3.1
pkgrel=0
pkgdesc="Text editor product line"
url="https://wiki.gnome.org/Projects/Tepl"
arch="all !s390x" # 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"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
options="!check" # needs DISPLAY
source="https://download.gnome.org/sources/tepl/${pkgver%.*}/tepl-$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="1c84fd3d55f8763728e4b8f57831e53c9e8946ff16c3d275d1a29d435602283827a791fe087e4e1ac5221f8173fb47f05f6f7a2944cce39e2ce54a5b2d26f5eb  tepl-4.3.1.tar.xz"