Closes: #13076 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Template file for 'gtkspell3'
|
|
pkgname=gtkspell3
|
|
version=3.0.9
|
|
revision=3
|
|
build_options="gir"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-silent-rules"
|
|
hostmakedepends="automake intltool libtool pkg-config
|
|
$(vopt_if gir 'gobject-introspection vala-devel')"
|
|
makedepends="enchant2-devel gtk+3-devel"
|
|
short_desc="Highlighting and replacement of misspelled words"
|
|
maintainer="beefcurtains <beefcurtains@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://${pkgname}.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname::-1}/${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=a4f4a4a2789f7499563e26d96b22d8085222ebe278da47d026b2de782b8b4d26
|
|
|
|
pre_configure() {
|
|
sed -i 's|enchant|enchant-2|g' configure
|
|
}
|
|
|
|
# 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} enchant-devel"
|
|
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
|
|
}
|
|
}
|