wok-next view obmenu/receipt @ rev 21048
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 27 02:24:27 2018 +0200 (2018-11-27) |
parents | f48456621a9d |
children |
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="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="python-dev"
16 compile_rules() {
17 python -B setup.py build &&
18 python -B setup.py install --root=$install
19 }
21 genpkg_rules() {
22 copy @std
23 DEPENDS="python python-pycairo python-pygobject2 python-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 }