2015-08-04 00:42:27 +00:00
|
|
|
# Template file for 'libkeybinder3'
|
|
|
|
pkgname=libkeybinder3
|
|
|
|
version=0.3.0
|
2015-08-29 22:36:41 +00:00
|
|
|
revision=2
|
2015-08-04 00:42:27 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
|
|
hostmakedepends="gnome-common gtk-doc libtool pkg-config $(vopt_if gir gobject-introspection)"
|
|
|
|
makedepends="gtk+3-devel"
|
|
|
|
short_desc="Library for registering global keyboard shortcuts (GTK+3)"
|
|
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/engla/keybinder"
|
|
|
|
distfiles="${homepage}/archive/keybinder-3.0-v${version}.tar.gz"
|
|
|
|
checksum="658d337ca312975dbb0f648c173d1d186b3fc3eb69c3ba4a117434d9932112ee"
|
|
|
|
wrksrc="keybinder-keybinder-3.0-v${version}"
|
|
|
|
|
|
|
|
build_options="gir"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default+="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
2015-08-29 22:36:41 +00:00
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
|
2015-08-04 00:42:27 +00:00
|
|
|
libkeybinder3-devel_package() {
|
|
|
|
short_desc+=" - developement 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
|
|
|
|
}
|
|
|
|
}
|