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

murrine-themes-collection PKGBUILD

By: a guest on Nov 22nd, 2010  |  syntax: None  |  size: 3.27 KB  |  views: 96  |  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:
  2. # Contributor: Andrea Scarpino <andrea@archlinux.org>
  3.  
  4. pkgname="murrine-themes-collection"
  5. pkgver=20101121
  6. pkgrel=1
  7. pkgdesc="A collection of Murrine GTK2 themes"
  8. license=("GPL")
  9. arch=("any")
  10. url="http://www.cimitan.com/murrine/themes/gallery"
  11. depends=("gtk-engine-murrine")
  12.  
  13. source=("http://sites.google.com/site/jovialubuntu/Home/Alliance-theme/Alliance-theme-v0.92.tar.gz"
  14.         "http://www.gnome-look.org/CONTENT/content-files/94653-Black-Diamond.tar.gz"
  15.         "http://www.gnome-look.org/CONTENT/content-files/81401-Blue-Crystal-0.9.2.tar.gz"
  16.         "http://www.cimitan.com/murrine/files/Caramello_04.tar.bz2"
  17.         "http://www.gnome-look.org/CONTENT/content-files/93558-Murreza.tar.bz2"
  18.         "http://www.cimitan.com/murrine/files/Kiwi.tar.gz"
  19.         "http://www.cimitan.com/murrine/files/MurrinaAquaIsh.tar.bz2"
  20.         "http://www.cimitan.com/murrine/files/MurrinaBlu-0.32.tar.gz"
  21.         "http://www.cimitan.com/murrine/files/MurrinaBlue.tar.bz2"
  22.         "http://www.cimitan.com/murrine/files/MurrinaCandido.tar.gz"
  23.         "http://www.cimitan.com/murrine/files/MurrinaChrome.tar.gz"
  24.         "http://www.cimitan.com/murrine/files/MurrinaCream.tar.gz"
  25.         "http://www.cimitan.com/murrine/files/MurrinaElement.tar.gz"
  26.         "http://www.cimitan.com/murrine/files/MurrinaFancyCandy.tar.bz2"
  27.         "http://www.cimitan.com/murrine/files/MurrinaGilouche.tar.bz2"
  28.         "http://www.cimitan.com/murrine/files/Murrine-Gray.tar.gz"
  29.         "http://www.cimitan.com/murrine/files/MurrinaLoveGray.tar.bz2"
  30.         "http://www.cimitan.com/murrine/files/MurrinaOranche_02.tar.gz"
  31.         "http://www.cimitan.com/murrine/files/MurrinaOransun.tar.gz"
  32.         "http://www.cimitan.com/murrine/files/MurrinaTango.tar.bz2"
  33.         "http://www.cimitan.com/murrine/files/MurrinaVerdeOlivo.tar.bz2"
  34.         "http://www.cimitan.com/murrine/files/Murrine-Gray.tar_0.gz"
  35.         "http://www.cimitan.com/murrine/files/Murrine-Light.tar.gz"
  36.         "http://www.cimitan.com/murrine/files/Murrine-Sky.tar.gz"
  37.         "http://www.cimitan.com/murrine/files/NOX-svn-r22.tar.gz"
  38.         "http://www.cimitan.com/murrine/files/Orangine.tar.gz")
  39.  
  40. noextract=("${source[@]##*/}")
  41.  
  42. md5sums=("86cb2a3e398aa14e0c1007d13efba653"
  43.         "f04a51651b07c1ce6e3097e8786d9ee5"
  44.         "ec90e4e3f55a620489ccb5aa0226b87f"
  45.         "5dbc0178ddaed12b7544f44ee417242f"
  46.         "2c749b6c112e825a52775cabfe3ff784"
  47.         "7f6fb102d77c2e6247cf09e30ee29257"
  48.         "e18bb191756ed1b793432f6bc7607db4"
  49.         "9f7ddce9b35bbec8bc258600fecff6e0"
  50.         "c42534308c8d45a3c953571ea94f50ac"
  51.         "3fe082faed0389c5ce186282a99659b4"
  52.         "4c4a9d72172ef67e6004a608878c9ee4"
  53.         "b3993c593f26a54f2259bbf8c42e54b6"
  54.         "03349c71b1e0f2b99df91bb75bce98c6"
  55.         "5a66f3de41547a0a27f925ac8d8d8c46"
  56.         "65d8f1f28f9c8ed14b15ec894dd0bfc0"
  57.         "0a1f0b1dab626d281d808b927003523c"
  58.         "31ce9fce5114c1cfe471dc614de539cc"
  59.         "f4e7a49a5a2cd14378b071fc6c448a4d"
  60.         "59721e24d5b56008ee8ad31004568de8"
  61.         "43a6848cc8a9eededffb516cfb02b635"
  62.         "7fb55d613c31a1455a9db6c121fff0bb"
  63.         "6782b5429767a90a9e84825538a61f6a"
  64.         "4428ad427be93727da949d2f5aa908cb"
  65.         "9b5e10156d2334b4466e6111999f3857"
  66.         "ba12603b8b9c228bd4833fe5ff36eb9b"
  67.         "8135b5b738f8cbfc76f882d537a79d3a")
  68.  
  69. package() {
  70.         mkdir -p $pkgdir/usr/share/themes
  71.         cd $pkgdir/usr/share/themes
  72.                
  73.         for _i in ${noextract[@]}; do
  74.                 bsdtar xf $srcdir/$_i
  75.         done
  76.  
  77.         find .                  \
  78.                 -name "gtkrc"   \
  79.                 -exec sed -i '
  80.                 s/highlight_ratio/highlight_shade/g;
  81.                 s/hilight_ratio/highlight_shade/g;
  82.                 s/lightborder_ratio/lightborder_shade/g;
  83.         ' {} \;
  84. }
clone this paste RAW Paste Data