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

Faenza PKGBUILD

By: a guest on Jun 30th, 2011  |  syntax: None  |  size: 2.18 KB  |  views: 265  |  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: Frikilinux <frikilinux at frikilinux.com.ar>
  2.  
  3. pkgname=faenza-icon-theme
  4. pkgver=0.9.2
  5. pkgrel=1
  6. pkgdesc="Icon theme designed for Equinox GTK theme"
  7. url="http://gnome-look.org/content/show.php/Faenza?content=128143"
  8. license=('GPL3')
  9. arch=('any')
  10. makedepends=()
  11. source=("http://fc01.deviantart.net/fs70/f/2011/104/5/6/faenza_icons_by_tiheum-d2v6x24.zip")
  12. sha256sums=('560f3e7ee0603c4a6bf33252862615caa73ee1042840649583051834930d8261')
  13.  
  14. build() {
  15.         bsdtar -x -f faenza_icons_by_tiheum-d2v6x24.zip
  16.         mkdir -p "${pkgdir}"/usr/share/icons
  17.         tar xzf "${srcdir}"/Faenza.tar.gz -C "${pkgdir}"/usr/share/icons
  18.         tar xzf "${srcdir}"/Faenza-Dark.tar.gz -C "${pkgdir}"/usr/share/icons
  19.         tar xzf "${srcdir}"/Faenza-Darker.tar.gz -C "${pkgdir}"/usr/share/icons
  20.         tar xzf "${srcdir}"/Faenza-Darkest.tar.gz -C "${pkgdir}"/usr/share/icons
  21.         tar xzf "${srcdir}"/emesene-faenza-theme.tar.gz -C "${pkgdir}"/usr/share
  22.  
  23.  
  24. # set the Arch Linux Dristributor and start menu logo
  25.         for size in 16 22 24 32 48; do
  26.                 cd "${pkgdir}"/usr/share/icons/Faenza/places/$size
  27.                 ln -sf distributor-logo-archlinux.png distributor-logo.png
  28.                 ln -sf start-here-archlinux.png start-here.png
  29.         done;
  30.  
  31. # set the Arch Linux start menu logo in dark theme
  32.         for size in 22 24 32 48; do
  33.                 cd "${pkgdir}"/usr/share/icons/Faenza-Dark/places/$size
  34.                 ln -sf start-here-archlinux.png start-here.png
  35.         done;
  36.  
  37.         cd "${pkgdir}"/usr/share/icons/Faenza/places/scalable
  38.         ln -sf distributor-logo-archlinux.svg distributor-logo.svg
  39.         ln -sf start-here-archlinux.svg start-here.svg
  40.         cd "${pkgdir}"/usr/share/icons/Faenza-Dark/places/scalable
  41.         ln -sf start-here-archlinux.svg start-here.svg
  42.         chown -R root:root "${pkgdir}"/usr
  43.  
  44.                 #fixing libreoffice icons
  45.                 for size in 16 22 24 32 48 scalable; do
  46.                         cd "${pkgdir}"/usr/share/icons/Faenza/apps/$size
  47.                                 for j in `ls libreoffice\-*`; do
  48.                                         ln -sf $j ${j#libreoffice-};
  49.                                 done
  50.                                 for j in `ls libreoffice3\-*`; do
  51.                                         ln -sf $j ${j#libreoffice3-};
  52.                                 done
  53.                 done
  54.  
  55.                 #fixing logviewer icon
  56.                 for size in 22 24 32 48 scalable; do
  57.                         cd "${pkgdir}"/usr/share/icons/Faenza/apps/$size
  58.                         fl=`ls logviewer*`
  59.                         ln -sf $fl logview${fl#logviewer} ;
  60.                 done
  61. }
clone this paste RAW Paste Data