2015-06-13 05:11:59 +02:00
|
|
|
# Template file for 'gtkspell3'
|
|
|
|
pkgname=gtkspell3
|
2016-04-06 11:08:36 +02:00
|
|
|
version=3.0.8
|
2015-06-13 05:11:59 +02:00
|
|
|
revision=1
|
|
|
|
build_options="gir"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-silent-rules"
|
|
|
|
hostmakedepends="$(vopt_if gir 'gobject-introspection vala') intltool pkg-config"
|
|
|
|
makedepends="enchant-devel gtk+3-devel"
|
|
|
|
short_desc="Highlighting and replacement of misspelled words"
|
|
|
|
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://${pkgname}.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname::-1}/${version}/${pkgname}-${version}.tar.gz"
|
2016-04-06 11:08:36 +02:00
|
|
|
checksum=011a0ce3f7c2f4b3a5b8f54c55927cdd73e1abf591a284a6d66cfb4cfe2d3fff
|
2015-06-13 05:11:59 +02:00
|
|
|
|
|
|
|
# Enable gir and vala for non-cross builds
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
gtkspell3-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|