# Template file for 'lib-skk' pkgname=libskk version=1.0.2 revision=1 short_desc="Japanese SKK input method library" maintainer="Satoshi Amemiya " homepage="https://github.com/ueno/${pkgname}" license="GPL-3" hostmakedepends="libgee08-devel pkg-config intltool gnome-common gobject-introspection vala gettext-devel" makedepends="libgee08-devel json-glib-devel" build_style=gnu-configure distfiles="https://github.com/ueno/${pkgname}/archive/${version}.tar.gz" checksum=5a68d100e006c3525e7f94579428c1cf015320f4f2e879e18c470dce3cba93c5 build_options="gir" if [ "$CROSS_BUILD" ]; then configure_args="--host=${XBPS_CROSS_TRIPLET}" else build_options_default="gir" fi pre_configure() { NOCONFIGURE=1 ./autogen.sh } libskk-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/*.so vmove usr/lib/pkgconfig if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 fi vmove usr/share/vala } }