void-packages/srcpkgs/pluma/template
2018-11-09 03:15:17 -02:00

32 lines
1,006 B
Bash

# 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
automake libtool"
makedepends="enchant2-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
pre_configure() {
sed -i 's/, enchant/, enchant-2/' configure.ac
autoreconf -fi
}
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
}
}