From 0a5c4e89bf0d5e9b44de172e652533f7c4b1472c Mon Sep 17 00:00:00 2001 From: Satoshi Amemiya Date: Sun, 3 Jul 2016 17:34:36 +0900 Subject: [PATCH] New package: libskk --- common/shlibs | 1 + srcpkgs/libskk-devel | 1 + srcpkgs/libskk/template | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 120000 srcpkgs/libskk-devel create mode 100644 srcpkgs/libskk/template diff --git a/common/shlibs b/common/shlibs index 3a2293df1bd..aaede940917 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2601,3 +2601,4 @@ libsass.so.0 libsass-3.3.6_1 libjbig.so.0 jbigkit-libs-2.1_2 libjbig85.so.0 jbigkit-libs-2.1_2 libmac.so.2 mac-3.99_1 +libskk.so.0 libskk-1.0.2_1 diff --git a/srcpkgs/libskk-devel b/srcpkgs/libskk-devel new file mode 120000 index 00000000000..b9a0488c43d --- /dev/null +++ b/srcpkgs/libskk-devel @@ -0,0 +1 @@ +libskk/ \ No newline at end of file diff --git a/srcpkgs/libskk/template b/srcpkgs/libskk/template new file mode 100644 index 00000000000..477fd57b23b --- /dev/null +++ b/srcpkgs/libskk/template @@ -0,0 +1,38 @@ +# 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 + } +}