# HG changeset patch # User Paul Issott # Date 1223935810 0 # Node ID 71183fd70c31d2acf65407779376468861ef6b29 # Parent 6fd8242e9be0674f5c407ad8cc08c1b1305984fb Add: Obmenu (Openbox Menu Editor) diff -r 6fd8242e9be0 -r 71183fd70c31 obmenu/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obmenu/receipt Mon Oct 13 22:10:10 2008 +0000 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="obmenu" +VERSION="1.0" +CATEGORY="x-window" +SHORT_DESC="Openbox menu editor." +MAINTAINER="paul@slitaz.org" +DEPENDS="python pycairo pygobject pygtk" +BUILD_DEPENDS="python python-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://obmenu.sourceforge.net/index.html" +WGET_URL="http://downloads.sourceforge.net/obmenu/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/pixmaps + cp -a $_pkg/usr $fs + cp $_pkg/usr/share/obmenu/mnu48.png $fs/usr/share/pixmaps +} + +post_install() +{ + echo -n "Enabling configuration file..." + cp /home/tux/.config/openbox/menu.xml /root/.config/openbox + status +} + +post_remove() +{ + echo -n "Removing configuration files..." + rm /root/.config/openbox/menu.xml + status +} diff -r 6fd8242e9be0 -r 71183fd70c31 obmenu/stuff/obmenu.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obmenu/stuff/obmenu.desktop Mon Oct 13 22:10:10 2008 +0000 @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Openbox Menu Editor +Name[fr]=Openbox editor de menu +Comment=Edits Openbox menus +Comment[fr]=Openbox edite les menus +Icon=mnu48.png +Exec=obmenu +Categories=Settings;DesktopSettings;GTK; +MimeType=application/x-openbox-theme +StartupNotify=true +Terminal=false