summaryrefslogtreecommitdiffstats
path: root/extra/gtk-theme-switch/Pkgfile
blob: 540b2cb0c458e376ff0d0d93694b003a3d0419cd (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
# 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/share/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
}