# Template file for 'pluma'
pkgname=pluma
version=1.18.2
revision=1
build_style=gnu-configure
pycompile_dirs="usr/lib/pluma/plugins"
hostmakedepends="automake libtool pkg-config intltool itstool glib-devel
 gobject-introspection mate-common"
makedepends="gtk+3-devel enchant-devel libSM-devel mate-desktop-devel
 gtksourceview-devel libsoup-devel libpeas-devel iso-codes"
depends="desktop-file-utils iso-codes zenity"
short_desc="Powerful text editor for MATE"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=ff0f29d4eaa946cbb2b26bbdc2b2d5a308b2d16ec99ea384bcb13f1f3d1a09fc

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}

pluma-devel_package() {
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}
