aboutsummaryrefslogtreecommitdiffstats
path: root/community/pluma/APKBUILD
blob: 69c48670fc10f5ebb026c9d2f4d5647ff89c7e25 (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: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=pluma
pkgver=1.21.0
pkgrel=0
pkgdesc="A small and lightweight UTF-8 text editor for the MATE"
url="https://github.com/mate-desktop/pluma"
arch="all"
license="GPL-2.0"
# check fails as tracked in https://github.com/mate-desktop/pluma/issues/33
options="!check"
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="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz
	0001-fix-accessperms-in-tests.patch"

builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="8bd7b782d6485671b44bf5a83758c2b0cf4b01fc62cc72264a3e70f6fcd78a080ff17913efd2c9ab89fe59f40f1b15eb91f5058f2a526937ea3f35922e0ed175  pluma-1.21.0.tar.xz
3aa0ae2e383bcc36c63384455062954876e77995da79a757b4eb6e37f3b2e5f7139165d7bb95c193ff888d33d2682773e981bf7e44fd963e918696d64e537741  0001-fix-accessperms-in-tests.patch"