# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=pluma pkgver=1.26.0 pkgrel=5 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-or-later" # check fails as tracked in https://github.com/mate-desktop/pluma/issues/33 options="!check" depends="mate-desktop" makedepends=" dconf-dev enchant2-dev fortify-headers gsettings-desktop-schemas-dev gtk+3.0-dev gtksourceview-dev gtksourceview4-dev intltool iso-codes-dev itstool libpeas-dev libsm-dev libxml2-utils mate-desktop-dev " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-pyc" 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 } pyc() { default_pyc local IFS=$'\n' amove $(find usr/lib/pluma -type d -name __pycache__) } sha512sums=" a6c0cee7110f4863e44af51b19bb528f0f3570eab8db98038152bf142eedde97ac13b896deff7051b941a0f43c6fe14e316a97eba40fe5d4854d76038450245f pluma-1.26.0.tar.xz "