void-packages/srcpkgs/pluma/template
2018-11-22 18:51:42 -02:00

32 lines
1,019 B
Bash

# Template file for 'pluma'
pkgname=pluma
version=1.20.3
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 mate-desktop"
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=85845e61cf719374860e66d5c90ede00f5dc2210594b6e72bad7e9e3bf608bd9
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
}
}