diff --git a/srcpkgs/libskk/template b/srcpkgs/libskk/template index e19db33ea50..1515e766724 100644 --- a/srcpkgs/libskk/template +++ b/srcpkgs/libskk/template @@ -1,10 +1,11 @@ # Template file for 'libskk' pkgname=libskk version=1.0.5 -revision=1 +revision=2 build_style=gnu-configure -hostmakedepends="gettext-devel gnome-common gobject-introspection intltool - libgee08-devel pkg-config vala libtool" +build_helper="gir" +hostmakedepends="gettext-devel gnome-common intltool + libgee08-devel pkg-config vala libtool gobject-introspection" makedepends="json-glib-devel libgee08-devel libxkbcommon-devel" short_desc="Japanese SKK input method library" maintainer="Satoshi Amemiya " @@ -14,11 +15,12 @@ distfiles="https://github.com/ueno/${pkgname}/archive/${version}.tar.gz" checksum=a298e9726b784dd9a6ce8dcb76ff8fbe633037756795d75cfd77d3aeab4f50ed build_options="gir" -if [ "$CROSS_BUILD" ]; then - configure_args="--host=${XBPS_CROSS_TRIPLET}" -else - build_options_default="gir" -fi + +case "$XBPS_TARGET_MACHINE" in + x86_64-musl) build_options_default+=" gir" ;; + *-musl) ;; + *) build_options_default+=" gir " ;; +esac pre_configure() { NOCONFIGURE=1 ./autogen.sh