summaryrefslogtreecommitdiff
path: root/user/pluma/APKBUILD
blob: c4a1c61717575e18a9d3940a6e2dc073036260ba (plain) (blame)
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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=pluma
pkgver=1.26.0
pkgrel=0
pkgdesc="Text editor for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
options="!check" # tests fail due to schema being requested but not available
license="GPL-2.0+ AND GPL-2.0-only AND LGPL-2.0+"
depends=""
makedepends="gtk+3.0-dev gtksourceview4-dev enchant-dev intltool
	itstool iso-codes-dev libpeas-dev libsm-dev libxml2-dev libxml2-utils
	wayland-protocols"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/pluma-$pkgver.tar.xz"

build() {
	rm -r help/zh_CN
	./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="a6c0cee7110f4863e44af51b19bb528f0f3570eab8db98038152bf142eedde97ac13b896deff7051b941a0f43c6fe14e316a97eba40fe5d4854d76038450245f  pluma-1.26.0.tar.xz"