Want more features on Pastebin? Sign Up, it's FREE!
Guest

gnome-theme-sonar

By: a guest on Sep 15th, 2010  |  syntax: Bash  |  size: 1.41 KB  |  views: 118  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Link Dupont <link.dupont@gmail.com>
  2. # Contributor: Lukas Jirkovsky <l DOT jirkovsky AT gmail DOT com>
  3. # Contributor: Dylan D'Arcy <dylan UNDERSCORE somebody AT gmail DOT com>
  4. pkgname=gnome-theme-sonar
  5. replaces=('gtk2-theme-sonar')
  6. conflicts=('gtk2-theme-sonar')
  7. pkgver=11.3.0_35.1
  8. _realver=11.3.0
  9. _pkgver=11.3.0-35.1
  10. _iconthemever=11.3.1
  11. pkgrel=1
  12. pkgdesc="Default GNOME theme from openSUSE 11.3"
  13. arch=('any')
  14. url="http://www.opensuse.org/"
  15. license=('GPL')
  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')
  21.  
  22. build() {
  23.   cd "$srcdir"
  24.  
  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
  28.  
  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
  33.  
  34.   cd icon-theme-sonar-${_iconthemever}
  35.   ./configure --prefix=/usr
  36.   make || return 1
  37.   make DESTDIR=$pkgdir install || return 1
  38.   rm $pkgdir/usr/share/themes/Sonar/metacity-1/Makefile*
  39.  
  40.   #chown -R root:root "$pkgdir"
  41. }
  42.  
  43. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data