-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
42 lines (40 loc) · 1.3 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Template file for 'gspell'
pkgname=gspell
version=1.12.2
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)
$(vopt_enable vala)"
hostmakedepends="pkg-config glib-devel $(vopt_if vala vala)"
makedepends="glib-devel enchant2-devel gtk+3-devel icu-devel
$(vopt_if vala vala)"
checkdepends="xvfb-run cantarell-fonts hunspell-en_US"
short_desc="Flexible API to add spell checking to a GTK+ application"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://gitlab.gnome.org/GNOME/gspell"
changelog="https://gitlab.gnome.org/GNOME/gspell/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/gspell/${version%.*}/gspell-${version}.tar.xz"
checksum=b4e993bd827e4ceb6a770b1b5e8950fce3be9c8b2b0cbeb22fdf992808dd2139
make_check_pre="xvfb-run"
# Package build options
build_options="gir vala"
build_options_default="gir vala"
gspell-devel_package() {
depends="libglib-devel enchant2-devel gtk+3-devel icu-devel
${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
if [ "$build_option_vala" ]; then
vmove usr/share/vala
fi
}
}