1 # Maintainer: Link Dupont <link.dupont@gmail.com>
2 # Contributor: Lukas Jirkovsky <l DOT jirkovsky AT gmail DOT com>
4 pkgname=gnome-theme-sonar
5 replaces=('gtk2-theme-sonar')
6 conflicts=('gtk2-theme-sonar')
12 pkgdesc="Default GNOME theme from openSUSE 11.3"
14 url="http://www.opensuse.org/"
16 depends=('gtk-engine-murrine')
17 provides=('sonar-icon-theme' 'gtk2-theme-sonar')
18 makedepends=('rpmextract')
19 source=(http://download.opensuse.org/repositories/GNOME:/Factory/openSUSE_Factory/src/gtk2-metatheme-sonar-${_pkgver}.src.rpm)
20 md5sums=('290957ad22cd7ce021139b33f29d63e5')
25 rpmextract.sh gtk2-metatheme-sonar-${_pkgver}.src.rpm
26 tar -xf metatheme-Sonar-${_realver}.tar.bz2
27 tar -xf icon-theme-sonar-${_iconthemever}.tar.bz2
29 install -m 755 -d "$pkgdir"/usr/share/themes/Sonar
30 cp -a Sonar/gtk-2.0/ "$pkgdir"/usr/share/themes/Sonar
31 cp -a Sonar/metacity-1/ "$pkgdir"/usr/share/themes/Sonar
32 cp -a Sonar/index.theme "$pkgdir"/usr/share/themes/Sonar
34 cd icon-theme-sonar-${_iconthemever}
35 ./configure --prefix=/usr
37 make DESTDIR=$pkgdir install || return 1
38 rm $pkgdir/usr/share/themes/Sonar/metacity-1/Makefile*
40 chown -R root:root "$pkgdir"
43 # vim:set ts=2 sw=2 et: