aboutsummaryrefslogtreecommitdiffstats
path: root/community/gedit-plugins/APKBUILD
blob: 461c8c0d650aa3cc9870c4bcd8184a0a43e49836 (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=gedit-plugins
pkgver=3.34.0
pkgrel=0
pkgdesc="Plugins for gedit, the GNOME text editor"
url="https://wiki.gnome.org/Apps/Gedit/PluginsLists"
arch="all"
license="GPL-2.0-only"
depends="python3 py3-gobject3 vte3 gucharmap py3-dbus"
makedepends="glib-dev gtk+3.0-dev gtksourceview4-dev libpeas-dev gedit-dev vala
	libgit2-glib-dev itstool vte3-dev gucharmap-dev py-dbus-dev meson"
subpackages="$pkgname-lang $pkgname-doc"
source="https://download.gnome.org/sources/gedit-plugins/${pkgver%.*}/gedit-plugins-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Dplugin_zeitgeist=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="d567550d2427efdb17b8aa1be391422ac5dad498254a76f1e4a87b014563c096adb8cc979c3bf612f641dade6bc7f1304a35d9b3327be6a861fd78cc576c3b05  gedit-plugins-3.34.0.tar.xz"