summaryrefslogtreecommitdiff
path: root/community/gnome-text-editor/APKBUILD
blob: dfb7df0dfbf35f6bdfbbda61987fbbc190d28b76 (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
37
38
39
40
41
42
# Contributor: Ralf Rachinger <alpine@ralfrachinger.de>
# Maintainer: Ralf Rachinger <alpine@ralfrachinger.de>
pkgname=gnome-text-editor
pkgver=42.2
pkgrel=0
pkgdesc="A simple text editor for GNOME"
url="https://apps.gnome.org/app/org.gnome.TextEditor"
arch="all !s390x !riscv64"
license="GPL-3.0-or-later"
makedepends="
	meson
	glib-dev
	gtk4.0-dev
	gtksourceview5-dev
	enchant2-dev
	libadwaita-dev
	itstool
	"
checkdepends="
	appstream-glib
	desktop-file-utils
"
subpackages="$pkgname-doc $pkgname-lang"
source="https://gitlab.gnome.org/GNOME/gnome-text-editor/-/archive/$pkgver/gnome-text-editor-$pkgver.tar.gz"

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

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
8b132e3a8b1144af6dfd5defc03e39408a086c30817d948fc542d50332153fe2be74e127ae66c0798d163e12576c131851df7926b0e2e8208e5a7378f36b8bdc  gnome-text-editor-42.2.tar.gz
"