wok view wm-switcher/receipt @ rev 25857

Fix reset menu.xml symlink when upgrade slitaz-configs
author Stanislas Leduc <shann@slitaz.org>
date Thu Aug 07 17:10:52 2025 +0000 (4 weeks ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wm-switcher"
4 VERSION="1.03"
5 CATEGORY="utilities"
6 TAGS="window"
7 SHORT_DESC="Simple GUI to switch window managers in Linux with minimal dependencies."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://github.com/xircon/wm-switcher/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}archive/refs/tags/v$VERSION.tar.gz"
15 SUGGESTED="compton"
16 DEPENDS="PyQt-x11-gpl sip-pyqt"
18 HOST_ARCH="i486 arm"
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin
24 mkdir -p $fs/usr/share/applications
26 cp -a $src/wm.py \
27 $fs/usr/bin/wm-switcher
28 chmod a+x,g-w $fs/usr/bin/wm-switcher
29 cp -a $src/wm-switcher.desktop \
30 $fs/usr/share/applications
31 chmod g-w $fs/usr/share/applications/wm-switcher.desktop
32 }