wok-6.x annotate icewm-xdgmenu/receipt @ rev 19082

Tiny edits: use Freedesktop standard icons for terminal and text editor...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 29 16:03:09 2016 +0300 (2016-04-29)
parents
children e3f377fbc5f0
rev   line source
psychomaniak@17159 1 # SliTaz package receipt.
psychomaniak@17159 2
psychomaniak@17159 3 PACKAGE="icewm-xdgmenu"
psychomaniak@17159 4 VERSION="0.7.6"
psychomaniak@17159 5 CATEGORY="x-window"
psychomaniak@17159 6 SHORT_DESC="icewm App-Menu generator (pl/py-free version)"
psychomaniak@17159 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@17159 8 LICENSE="GPL2"
psychomaniak@17159 9 WEB_SITE="http://bkhome.org/blog?viewDetailed=02680"
psychomaniak@17159 10 SOURCE="xdg_puppy-0.7.6-9.tar.bz2"
psychomaniak@17159 11 TARBALL=$SOURCE
psychomaniak@17159 12 WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL"
psychomaniak@17159 13
psychomaniak@17159 14 DEPENDS="gnome-menus slitaz-menus icewm"
psychomaniak@17159 15 BUILD_DEPENDS="gnome-menus gnome-menus-dev"
psychomaniak@17159 16
psychomaniak@17159 17 # Rules to configure and make the package.
psychomaniak@17159 18 compile_rules()
psychomaniak@17159 19 {
psychomaniak@17159 20 cd $src/$PACKAGE
psychomaniak@17159 21 sed -i 's|root0/.|usr/share/|g' Makefile
psychomaniak@17159 22 sed -i '/tar -/d' Makefile && make
psychomaniak@17159 23 make PKGNAME=$install BINDIR=/usr/bin install
psychomaniak@17159 24 }
psychomaniak@17159 25
psychomaniak@17159 26 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@17159 27 genpkg_rules()
psychomaniak@17159 28 {
psychomaniak@17159 29 cp -a $install/usr $fs
psychomaniak@17159 30 cp -f $stuff/* $fs/usr/share/icewm
psychomaniak@17159 31 }
psychomaniak@17159 32
psychomaniak@17159 33 post_install()
psychomaniak@17159 34 {
psychomaniak@17159 35 ico="/usr/share/icons/SliTaz"
psychomaniak@17159 36 IconPath="$ico/apps/22:/usr/share/pixmaps:$ico/categories/22:$ico/devices/22:$ico/mimetypes/32"
psychomaniak@17159 37 pref="$1/usr/share/icewm/preferences"
psychomaniak@17159 38 echo ' '>> $pref
psychomaniak@17159 39 echo 'IconPath="'$IconPath'"' >> $pref
psychomaniak@17159 40 echo 'MenuMouseTracking=1' >> $pref
psychomaniak@17159 41 }