wok-next view obmenu/receipt @ rev 20806

I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 13 08:26:54 2018 +0000 (2018-06-13)
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 }