aboutsummaryrefslogtreecommitdiffstats
path: root/community/gedit-plugins/APKBUILD
blob: dc04a193197a73bded1691a87251290e9223f70a (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gedit-plugins
pkgver=3.36.0
pkgrel=0
pkgdesc="Plugins for gedit, the GNOME text editor"
url="https://wiki.gnome.org/Apps/Gedit/PluginsLists"
arch="all !s390x" # Limited by gedit-dev and gtksourceview4-dev
license="GPL-2.0-only"
depends="python3 py3-gobject3 vte3 gucharmap py3-dbus libpeas-python3"
makedepends="glib-dev gtk+3.0-dev gtksourceview4-dev libpeas-dev gedit-dev vala
	libgit2-glib-dev itstool vte3-dev gucharmap-dev py3-dbus-dev meson"
checkdepends="appstream-glib"
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=plain \
		-Dplugin_zeitgeist=false \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="3328ab4f09555291cf5c95f6838ae764380efd596ecf56487012817ab5735db604b5f4b61306174f7f992adab023b56b78a872e36ddd6f2f3d9a035db0065670  gedit-plugins-3.36.0.tar.xz"