void-packages/srcpkgs/gspell/template

34 lines
1 KiB
Bash
Raw Normal View History

2016-03-22 10:02:44 +00:00
# Template file for 'gspell'
pkgname=gspell
2017-05-13 07:34:51 +00:00
version=1.5.1
2016-03-22 10:02:44 +00:00
revision=1
build_style=gnu-configure
configure_args="--disable-static
$(vopt_if gir '--enable-introspection --enable-vala' '--disable-introspection --disable-vala')"
2017-01-07 07:34:22 +00:00
hostmakedepends="pkg-config glib-devel $(vopt_if gir 'gobject-introspection vala-devel')"
2016-03-22 10:02:44 +00:00
makedepends="glib-devel enchant-devel gtk+3-devel iso-codes"
2017-07-11 12:54:13 +00:00
short_desc="Flexible API to add spell checking to a GTK+ application"
2016-03-22 10:02:44 +00:00
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="http://www.gnome.org"
2017-07-11 12:54:13 +00:00
distfiles="${GNOME_SITE}/gspell/${version%.*}/gspell-$version.tar.xz"
2017-05-13 07:34:51 +00:00
checksum=f56f4881adced86fbc26d21038c28cdf06a1520eaf83c6d7640fc2e04f8a3fcf
2016-03-22 10:02:44 +00:00
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
gspell-devel_package() {
depends="${sourcepkg}>=${version}_${revision} enchant-devel iso-codes"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}