summaryrefslogtreecommitdiffstats
path: root/extra/gtk-theme-switch/build~
blob: 9d37c1477d31ceeb5c9e21e408d6e0c0e7197daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}