aboutsummaryrefslogtreecommitdiffstats
path: root/community/pluma/APKBUILD
blob: 02a4b0066c6eda31c3fcaa3474629d4d3b2ab6b1 (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: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=pluma
pkgver=1.22.2
pkgrel=0
pkgdesc="A small and lightweight UTF-8 text editor for the MATE"
url="https://github.com/mate-desktop/pluma"
arch="all !s390x" # mate-desktop
license="GPL-2.0-or-later"
# check fails as tracked in https://github.com/mate-desktop/pluma/issues/33
options="!check"
depends="mate-desktop"
makedepends="intltool enchant-dev iso-codes-dev gtk+3.0-dev
	mate-desktop-dev gtksourceview-dev dconf-dev libsm-dev itstool
	libxml2-utils fortify-headers libpeas-dev gsettings-desktop-schemas-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/pluma-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="a68b79713f649def15ea29e58e041d70bb6d756a356743f6e06d8dd680f7b39e8bcdd90c68cbe5c517bead7f9263d7596954bc595c3a2501edf0d0ea421c9992  pluma-1.22.2.tar.xz"