# Template file for 'pluma'
pkgname=pluma
version=1.20.2
revision=1
build_style=gnu-configure
pycompile_dirs="usr/lib/pluma/plugins"
hostmakedepends="gobject-introspection mate-common"
makedepends="enchant-devel gtksourceview-devel iso-codes libSM-devel
 libpeas-devel libsoup-devel mate-desktop-devel"
depends="desktop-file-utils iso-codes zenity"
short_desc="Powerful text editor for MATE"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=fd43421d13ceeb0d8b316b127c738914f89c6449b588cccc4f4c26fae67f26e2

pluma-devel_package() {
	depends="${sourcepkg}-${version}_${revision} gtksourceview-devel libpeas-devel"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}
