This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD

By: a guest on Jun 2nd, 2013  |  syntax: C  |  size: 1.87 KB  |  views: 119  |  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. pkgname=light-themes
  2. pkgver=0.1.93
  3. pkgrel=2
  4. pkgdesc="Ubuntu 'light' themes Ambiance and Radiance (GTK2 and GTK3)"
  5. arch=('i686' 'x86_64')
  6. url="https://launchpad.net/light-themes/"
  7. license=("CCPL")
  8. depends=("gtk-engine-murrine" "gtk3" "gtk-engine-unico")
  9. source=("https://launchpad.net/ubuntu/quantal/+source/${pkgname}/${pkgver}/+files/${pkgname}_${pkgver}.tar.gz"
  10.         "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-themes/light-themes/files/light-themes-0.1.93-gtk3.8-1.patch"
  11.         "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-themes/light-themes/files/light-themes-0.1.93-gtk3.8-2.patch"
  12.         "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-themes/light-themes/files/light-themes-0.1.93-gtk3.8-3.patch")
  13.  
  14. prepare(){
  15.         cd "$srcdir"/light-themes-${pkgver}/
  16.         patch -Np0 -i ../light-themes-0.1.93-gtk3.8-1.patch
  17.         patch -Np0 -i ../light-themes-0.1.93-gtk3.8-2.patch
  18.         patch -Np0 -i ../light-themes-0.1.93-gtk3.8-3.patch
  19. }
  20.  
  21. package(){
  22.         mkdir -p "$pkgdir"/usr/share/themes/
  23.         cd "$srcdir"/light-themes-${pkgver}/
  24.         cp -r "Ambiance" "$pkgdir/usr/share/themes"
  25.         cp -r "Radiance" "$pkgdir/usr/share/themes"
  26.         sed -i -e "/shadow radius/d" "$pkgdir/usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml"
  27.         sed -i -e "/shadow radius/d" "$pkgdir/usr/share/themes/Radiance/metacity-1/metacity-theme-1.xml"
  28.         sed -i -e "/padding/d" "$pkgdir/usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml"
  29.         sed -i -e "/padding/d" "$pkgdir/usr/share/themes/Radiance/metacity-1/metacity-theme-1.xml"
  30.  
  31.         sed -i -e "/trough/d" "$pkgdir/usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml"
  32.         sed -i -e "/trough/d" "$pkgdir/usr/share/themes/Radiance/metacity-1/metacity-theme-1.xml"
  33.  
  34. }
  35.  
  36.  
  37. md5sums=('57baa4b1ab33288e2f31454fe39be25c'
  38.          'f56310988431606d49c9b105706a8ef1'
  39.          'a46830dd373a2d7381b6a2b7d4a027df'
  40.          '61b178fa1ff14521b6914551f468ee48')
clone this paste RAW Paste Data