wok-next view obmenu/receipt @ rev 20672
font-manager: update bdeps / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 16:51:58 2018 +0300 (2018-05-11) |
parents | 9e01bc6321ea |
children | de355b69ea82 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="obmenu"
4 VERSION="1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Openbox menu editor"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://obmenu.sourceforge.net/index.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.sourceforge.net/obmenu/$TARBALL"
14 BUILD_DEPENDS="python python-dev"
16 compile_rules() {
17 python setup.py build &&
18 python setup.py install --root=$DESTDIR
19 }
21 genpkg_rules() {
22 copy @std
23 DEPENDS="python pycairo pygobject pygtk libffi"
24 TAGS="openbox"
25 }
27 post_install() {
28 # Enabling configuration file
29 cp "$1/home/tux/.config/openbox/menu.xml" "$1/root/.config/openbox"
30 }
32 post_remove() {
33 # Removing configuration file
34 rm "$1/root/.config/openbox/menu.xml"
35 }