summaryrefslogblamecommitdiff
path: root/user/pluma/APKBUILD
blob: d330843b80bea554dd577719fdcf1cb5ddffa725 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                 
             
             







                                                                             

                                                                             



                                                                                
                        










                                         



                  


                                      
                                                                                                                                                                  
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=pluma
pkgver=1.24.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
	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="588640744f8a0bec08d0c51c0309380a57cb6319c98124885e30d05e7dd8488ba7bd5acec1bf21fb0d6832626ae8925b24cd241202265af1a631a91313cdad2b  pluma-1.24.2.tar.xz"