summaryrefslogtreecommitdiff
path: root/user/pluma/APKBUILD
blob: 0f85b410b08a37944f020a1787b75d0386d8f816 (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
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=pluma
pkgver=1.22.2
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 gtksourceview-3.0-dev enchant-dev intltool 
	itstool iso-codes-dev libpeas-dev libsm-dev libxml2-dev libxml2-utils"
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 \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

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