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

Untitled

By: a guest on Jan 4th, 2012  |  syntax: Bash  |  size: 1.29 KB  |  views: 36  |  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=gnome-theme-lucidity
  2. pkgver=2.4
  3. pkgrel=1
  4. pkgdesc="A complete gnome theme by Emily Wind inspired by a mockup by Huw Wilkins"
  5. arch=('any')
  6. url="http://gnome-look.org/content/show.php/Lucidity?content=125877"
  7. license=('CCPL:cc-by-sa')
  8. depends=('gtk-engine-murrine-git')
  9. conflicts=('gtk-theme-lucidity')
  10. optdepends=('elementary-icons: recommended iconset')
  11. source=('http://fc06.deviantart.net/fs70/f/2011/197/4/d/lucidity_by_emilywind-d326tsx.zip')
  12. md5sums=('1eb134f50e787c3cb58cb2a8d73a46bd')
  13.  
  14. build() {
  15.     cd "$srcdir/Lucidity"
  16.     tar -xf Lucidity-gtk.tar.gz
  17.     tar -xf Lucidity-icons.tar.gz
  18.  
  19.     #fix for the icons configuration script
  20.     sed -i "s/Mist/ubuntu-mono-lucid,\*/g" \
  21.         "$srcdir/Lucidity/Lucidity-icons/Lucidity/index.theme"
  22.     sed -i -e "1s/^.//" -e "27,28s/^/#/" \
  23.         "$srcdir/Lucidity/Lucidity-icons/Lucidity/configure"
  24.  
  25.     cd "$srcdir/Lucidity/Lucidity-gtk/Lucidity/"
  26.     ./configure
  27.     cd "$srcdir/Lucidity/Lucidity-icons/Lucidity/"
  28.     ./configure
  29. }
  30.  
  31. package() {
  32.     mkdir -p "$pkgdir/usr/share/themes"
  33.     mkdir -p "$pkgdir/usr/share/icons"
  34.     cp -r "$srcdir/Lucidity/Lucidity-gtk/Lucidity" "$pkgdir/usr/share/themes"
  35.     cp -r "$srcdir/Lucidity/Lucidity-icons/Lucidity" "$pkgdir/usr/share/icons"
  36.     cp -r "$srcdir/Lucidity/Lucidity-icons/ubuntu-mono-lucid" "$pkgdir/usr/share/icons"
  37. }
clone this paste RAW Paste Data