New package: libkeybinder2-0.3.0

This commit is contained in:
ShadowKyogre 2014-11-05 12:32:12 -08:00
parent d11d36f33c
commit 344942ecbf
4 changed files with 55 additions and 0 deletions

View file

@ -918,6 +918,8 @@ libnilfscleaner.so.0 libnilfs-2.1.0_1
libchicken.so.7 libchicken-4.9.0_1
libmdb.so.0 libmdb-0.5_1
libmdbsql.so.0 libmdb-0.5_1
libkeybinder.so libkeybinder2-0.3.0_1
libkeybinder.so.0 libkeybinder2-0.3.0_1
libkmod.so.2 libkmod-5_1
libestr.so.0 libestr-0.1.2_1
libee.so.0 libee-0.3.2_1

1
srcpkgs/libkeybinder2-devel Symbolic link
View file

@ -0,0 +1 @@
libkeybinder2

View file

@ -0,0 +1,51 @@
pkgname=libkeybinder2
_offname=keybinder
version=0.3.0
revision=1
build_style=gnu-configure
configuer_args="$(vopt_enable gir introspection)"
hostmakedepends="automake libtool pkg-config intltool gnome-common"
makedepends="pygtk-devel gtk+-devel $(vopt_if gir gobject-introspection)"
short_desc="Library for registering global keyboard shortcuts (GTK+2)"
maintainer="ShadowKyogre <shadowkyogre.public@gmail.com>"
homepage="http://www.gnome.org/"
license="GPL-2"
distfiles="https://github.com/engla/${_offname}/archive/v${version}.tar.gz"
checksum=8e8d77386b9e29556fab097c31aec643d36a33d201733b7b999179abcba7774e
wrksrc=${_offname}-${version}
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
pre_configure() {
./autogen.sh
}
libkeybinder2-devel_package()
{
depends="pygtk-devel gtk+-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install()
{
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
#vmove usr/share/gtk-doc
#if [ "$build_option_gir" ]; then
# vmove usr/share/gir-1.0
#fi
}
}
python-keybinder2_package()
{
depends="pygtk"
short_desc+=" - python module"
pkg_install()
{
vmove usr/lib/python2.7
}
}

1
srcpkgs/python-keybinder2 Symbolic link
View file

@ -0,0 +1 @@
libkeybinder2