33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'gspell'
|
|
pkgname=gspell
|
|
version=1.4.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static
|
|
$(vopt_if gir '--enable-introspection --enable-vala' '--disable-introspection --disable-vala')"
|
|
hostmakedepends="pkg-config glib-devel $(vopt_if gir 'gobject-introspection vala-devel')"
|
|
makedepends="glib-devel enchant-devel gtk+3-devel iso-codes"
|
|
short_desc="flexible API to add spell checking to a GTK+ application"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://www.gnome.org"
|
|
distfiles="http://ftp.gnome.org/pub/GNOME/sources//gspell/${version%.*}/gspell-$version.tar.xz"
|
|
checksum=442f88fecd7f9e00a6a9d0af2d762744dd3c119217ff11d6739500f75b0f10be
|
|
|
|
|
|
# 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"
|
|
}
|
|
}
|