void-packages/srcpkgs/libskk/template
2018-06-27 12:32:18 -03:00

39 lines
1 KiB
Bash

# Template file for 'libskk'
pkgname=libskk
version=1.0.4
revision=1
build_style=gnu-configure
hostmakedepends="gettext-devel gnome-common gobject-introspection intltool
libgee08-devel pkg-config vala"
makedepends="json-glib-devel libgee08-devel"
short_desc="Japanese SKK input method library"
maintainer="Satoshi Amemiya <amemiya@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/ueno/${pkgname}"
distfiles="https://github.com/ueno/${pkgname}/archive/${version}.tar.gz"
checksum=39ff9a7df25b319b0e0e74fe4161de17720a32bf73dea8096647e13efcd89f9d
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
}
}