diff --git a/srcpkgs/ibus-hangul/template b/srcpkgs/ibus-hangul/template new file mode 100644 index 00000000000..e06b67234b3 --- /dev/null +++ b/srcpkgs/ibus-hangul/template @@ -0,0 +1,28 @@ +# Template file for 'ibus-hangul' +pkgname=ibus-hangul +version=1.5.0 +revision=1 +build_style=gnu-configure +configure_args="--libexec=/usr/lib/ibus $(vopt_enable gir introspection)" +short_desc="Korean input engine for IBus" +hostmakedepends="pkg-config intltool automake gettext-devel libtool swig $(vopt_if gir gobject-introspection)" +makedepends="python-gobject-devel libhangul ibus-devel" +depends="ibus libhangul gtk-update-icon-cache python-gobject" +maintainer="Matthew Wynn " +homepage="https://github.com/choehwanjin/ibus-hangul" +license="GPL-2" +distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.gz" +checksum=a22d4030bb20f73914a9d8a28c71b823123a5d1902a30f8328111af50f4f1788 + +# Package build options +build_options="gir" + +# Disable gir for cross builds. +if [ -z "$CROSS_BUILD" ]; then + build_options_default="gir" +fi + +pre_configure() { + autoreconf -fi + intltoolize -f +} diff --git a/srcpkgs/ibus-hangul/update b/srcpkgs/ibus-hangul/update new file mode 100644 index 00000000000..608f1c0bc19 --- /dev/null +++ b/srcpkgs/ibus-hangul/update @@ -0,0 +1 @@ +site="https://github.com/choehwanjin/ibus-hangul/releases"