wok-next view obmenu/receipt @ rev 20942
Updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 28 08:45:59 2018 +0300 (2018-08-28) |
parents | de355b69ea82 |
children | a3254b6a96ac |
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 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 }