wok-next view keybinder/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="keybinder"
4 VERSION="0.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for registering global keyboard shortcuts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/kupferlauncher/keybinder"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev gobject-introspection-dev xorg-libXext-dev python-dev \
15 python-pygtk-dev python-pygobject2-dev automake autoconf libtool"
16 SPLIT="$PACKAGE-python $PACKAGE-dev"
18 compile_rules() {
19 autoreconf -vif &&
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 keybinder)
29 copy libkeybinder.so*
30 DEPENDS="glib gtk2 xorg-libX11"
31 ;;
32 keybinder-python)
33 copy @std @rm
34 CAT="x-window|python bindings"
35 DEPENDS="glib keybinder python"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="keybinder keybinder-python \
40 gtk2-dev"
41 ;;
42 esac
43 }