void-packages/srcpkgs/gtkspell/template
maxice8 9f78429293
gtkspell: rebuild against enchant-2
Closes: #13075 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-10 16:26:14 +02:00

29 lines
821 B
Bash

# Template file for 'gtkspell'
pkgname=gtkspell
version=2.0.16
revision=4
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="intltool pkg-config"
makedepends="enchant2-devel gtk+-devel"
short_desc="Provides word-processor-style highlighting"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gtkspell.sourceforge.net/"
license="LGPL-2.1-or-later"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02
pre_configure() {
sed -i 's/enchant/enchant-2/g' configure
}
gtkspell-devel_package() {
depends="gtk+-devel ${sourcepkg}>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}