wok rev 25804

created recipe for wm-switcher
author Hans-G?nter Theisgen
date Wed Nov 13 15:16:07 2024 +0100 (7 days ago)
parents a0294319a84f
children 6ef924cbceb1
files wm-switcher/description.txt wm-switcher/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/wm-switcher/description.txt	Wed Nov 13 15:16:07 2024 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +Switch between window managers:
     1.5 +- metacity
     1.6 +- xfwm4
     1.7 +- compiz
     1.8 +- openbox
     1.9 +with or without Compton compositor
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/wm-switcher/receipt	Wed Nov 13 15:16:07 2024 +0100
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="wm-switcher"
     2.7 +VERSION="1.03"
     2.8 +CATEGORY="utilities"
     2.9 +TAGS="window"
    2.10 +SHORT_DESC="Simple GUI to switch window managers in Linux with minimal dependencies."
    2.11 +MAINTAINER="maintainer@slitaz.org"
    2.12 +LICENSE="GPL3"
    2.13 +WEB_SITE="https://github.com/xircon/wm-switcher/"
    2.14 +
    2.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.16 +WGET_URL="${WEB_SITE}archive/refs/tags/v$VERSION.tar.gz"
    2.17 +
    2.18 +SUGGESTED="compton"
    2.19 +DEPENDS="PyQt-x11-gpl sip-pyqt"
    2.20 +
    2.21 +HOST_ARCH="i486 arm"
    2.22 +
    2.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.24 +genpkg_rules()
    2.25 +{
    2.26 +	mkdir	-p	$fs/usr/bin
    2.27 +	mkdir	-p	$fs/usr/share/applications
    2.28 +
    2.29 +	cp	-a	$src/wm.py			\
    2.30 +			$fs/usr/bin/wm-switcher
    2.31 +	chmod	a+x,g-w	$fs/usr/bin/wm-switcher
    2.32 +	cp	-a	$src/wm-switcher.desktop	\
    2.33 +			$fs/usr/share/applications
    2.34 +	chmod	g-w	$fs/usr/share/applications/wm-switcher.desktop
    2.35 +}