22 lines
572 B
Plaintext
22 lines
572 B
Plaintext
|
# Description: Library for registering global keyboard shortcuts - Python 2 bindings
|
||
|
# URL: https://github.com/engla/keybinder
|
||
|
# Packager: milisarge
|
||
|
# Depends on: keybinder python-gtk gnome-common
|
||
|
|
||
|
_ananame=keybinder
|
||
|
name=python-keybinder
|
||
|
version=0.3.1
|
||
|
release=1
|
||
|
|
||
|
source=(https://github.com/engla/${_ananame}/archive/master.zip)
|
||
|
|
||
|
build() {
|
||
|
cd "${_ananame}-master"
|
||
|
export PYTHON=/usr/bin/python2
|
||
|
./autogen.sh --prefix=/usr
|
||
|
make
|
||
|
make DESTDIR="${PKG}/" install
|
||
|
rm -rf "${PKG}"/usr/lib/{girepository-1.0,libkeybinder*,pkgconfig}
|
||
|
rm -rf "${PKG}"/usr/{include,share}
|
||
|
}
|