summaryrefslogtreecommitdiffstats
path: root/extra/gtk-theme-switch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk-theme-switch')
-rw-r--r--extra/gtk-theme-switch/.footprint14
-rw-r--r--extra/gtk-theme-switch/.md5sum3
-rw-r--r--extra/gtk-theme-switch/Pkgfile25
-rw-r--r--extra/gtk-theme-switch/build~26
-rw-r--r--extra/gtk-theme-switch/gtk-s-t.pngbin0 -> 1312 bytes
-rwxr-xr-xextra/gtk-theme-switch/gtk-theme-switch.desktop13
6 files changed, 81 insertions, 0 deletions
diff --git a/extra/gtk-theme-switch/.footprint b/extra/gtk-theme-switch/.footprint
new file mode 100644
index 000000000..094fd3b04
--- /dev/null
+++ b/extra/gtk-theme-switch/.footprint
@@ -0,0 +1,14 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/switch2
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rwxr-xr-x root/root usr/man/man1/switch.1.gz
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/applications/
+-rwxr-xr-x root/root usr/share/applications/gtk-theme-switch.desktop
+drwxr-xr-x root/root usr/share/icons/
+drwxr-xr-x root/root usr/share/icons/hicolor/
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/
+drwxr-xr-x root/root usr/share/icons/hicolor/48x48/apps/
+-rw-r--r-- root/root usr/share/icons/hicolor/48x48/apps/gtk-s-t.png
diff --git a/extra/gtk-theme-switch/.md5sum b/extra/gtk-theme-switch/.md5sum
new file mode 100644
index 000000000..e7473d360
--- /dev/null
+++ b/extra/gtk-theme-switch/.md5sum
@@ -0,0 +1,3 @@
+c39cebe965bece69a90bf3576cdd6dc6 gtk-s-t.png
+e377c8c5cce26926bc2092ed0438658c gtk-theme-switch.desktop
+9775656eb1dab08c883fd0e3c23fc0a5 gtk-theme-switch_2.0.5.tar.gz
diff --git a/extra/gtk-theme-switch/Pkgfile b/extra/gtk-theme-switch/Pkgfile
new file mode 100644
index 000000000..16367a26c
--- /dev/null
+++ b/extra/gtk-theme-switch/Pkgfile
@@ -0,0 +1,25 @@
+# Description: GTK2 Theme Switcher
+# URL: http://www.muhri.net/nav.php3?node=gts
+# Maintainer: NuTyX core team
+# Packager: geantbrun at gmail dot com
+# Depends on: gtk
+
+name=gtk-theme-switch
+version=2.0.5
+release=1
+source=(http://ftp.debian.org/debian/pool/main/g/$name/${name}_${version}.tar.gz\ gtk-s-t.png\ gtk-theme-switch.desktop)
+
+build() {
+ cd ${name}-${version}
+
+ make
+
+ install -D -m 755 switch2 $PKG/usr/bin/switch2
+ install -D switch.1 $PKG/usr/man/man1/switch.1
+
+ mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps
+ cp ../gtk-s-t.png $PKG/usr/share/icons/hicolor/48x48/apps/gtk-s-t.png
+ mkdir -p $PKG/usr/share/applications
+ cp ../$name.desktop $PKG/usr/share/applications
+ chown -R root:root $PKG
+}
diff --git a/extra/gtk-theme-switch/build~ b/extra/gtk-theme-switch/build~
new file mode 100644
index 000000000..9d37c1477
--- /dev/null
+++ b/extra/gtk-theme-switch/build~
@@ -0,0 +1,26 @@
+# $Id: $
+# Description: GTK2 Theme Switcher
+# URL: http://www.muhri.net/nav.php3?node=gts
+# Packager: geantbrun
+# Depends on: gtk2
+
+name=gtk-theme-switch
+version=2.0.5
+release=2
+group=contrib
+source=(http://ftp.debian.org/debian/pool/main/g/$name/${name}_${version}.tar.gz\ gtk-s-t.png\ gtk-theme-switch.desktop)
+
+build() {
+ cd ${name}-${version}
+
+ make
+
+ install -D -m 755 switch2 $PKG/usr/bin/switch2
+ install -D switch.1 $PKG/usr/man/man1/switch.1
+
+ mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps
+ cp ../gtk-s-t.png $PKG/usr/share/icons/hicolor/48x48/apps/gtk-s-t.png
+ mkdir -p $PKG/usr/share/applications
+ cp ../$name.desktop $PKG/usr/share/applications
+ chown -R root:root $PKG
+} \ No newline at end of file
diff --git a/extra/gtk-theme-switch/gtk-s-t.png b/extra/gtk-theme-switch/gtk-s-t.png
new file mode 100644
index 000000000..b62e6fab2
--- /dev/null
+++ b/extra/gtk-theme-switch/gtk-s-t.png
Binary files differ
diff --git a/extra/gtk-theme-switch/gtk-theme-switch.desktop b/extra/gtk-theme-switch/gtk-theme-switch.desktop
new file mode 100755
index 000000000..65aa555c4
--- /dev/null
+++ b/extra/gtk-theme-switch/gtk-theme-switch.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=Application
+Name=gtk-theme-switch
+Name[fr]=gtk-theme-switch
+GenericName[fr]=gtk-theme-switch
+Comment[fr]=changer et installer des themes gtk
+Categories=GTK;Settings;DesktopSettings;
+Exec=switch2
+Icon=gtk-s-t
+Terminal=false
+StartupNotify=true \ No newline at end of file