Merge pull request #4420 from rail44/new-package-libskk

New package: libskk
This commit is contained in:
Michael Gehring 2016-09-20 12:18:14 +02:00 committed by GitHub
commit 0092428cd7
3 changed files with 40 additions and 0 deletions

View File

@ -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

1
srcpkgs/libskk-devel Symbolic link
View File

@ -0,0 +1 @@
libskk/

38
srcpkgs/libskk/template Normal file
View File

@ -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 <amemiya@protonmail.com>"
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
}
}