void-packages/srcpkgs/libskk/template
2019-04-28 01:45:48 +02:00

36 lines
1,004 B
Bash

# Template file for 'libskk'
pkgname=libskk
version=1.0.5
revision=3
build_style=gnu-configure
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 <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=a298e9726b784dd9a6ce8dcb76ff8fbe633037756795d75cfd77d3aeab4f50ed
build_options="gir"
build_options_default="gir"
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
}
}