# Contributor: William Pitcock # Maintainer: William Pitcock setvar pkgname = 'faenza-icon-theme' setvar pkgver = '1.3.1' setvar pkgrel = '4' setvar pkgdesc = ""icons designed to go in tandem with equinox themes"" setvar arch = ""noarch"" setvar url = ""http://tiheum.deviantart.com/art/Faenza-Icons-173323228"" setvar license = ""GPL"" setvar depends = '' setvar makedepends = '' setvar install = '' setvar subpackages = ""$pkgname-extras $pkgname-abiword $pkgname-audacious $pkgname-audacity $pkgname-evince $pkgname-firefox $pkgname-geany $pkgname-gimp $pkgname-glade $pkgname-gnome-panel:gnome_panel $pkgname-gnome-session:gnome_session $pkgname-gnumeric $pkgname-gparted $pkgname-hexchat $pkgname-imagemagick $pkgname-inkscape $pkgname-libreoffice-calc:lo_calc $pkgname-libreoffice-common:lo_common $pkgname-libreoffice-draw:lo_draw $pkgname-libreoffice-impress:lo_impress $pkgname-libreoffice-main:lo_main $pkgname-libreoffice-math:lo_math $pkgname-libreoffice-writer:lo_writer $pkgname-libreoffice $pkgname-midori $pkgname-mplayer $pkgname-pidgin $pkgname-shotwell $pkgname-thunar $pkgname-transmission $pkgname-truecrypt $pkgname-vim $pkgname-vlc $pkgname-wine $pkgname-wireshark $pkgname-xbmc $pkgname-xchat $pkgname-xfce4-appfinder:xfce4_appfinder $pkgname-xfce4-panel:xfce4_panel $pkgname-deadbeef $pkgname-dia $pkgname-emacs $pkgname-evolution $pkgname-hardinfo $pkgname-thunderbird $pkgname-totem "" setvar source = ""https://launchpad.net/~tiheum/+archive/equinox/+files/faenza-icon-theme_$pkgver.tar.gz"" setvar _builddir = ""$srcdir"/$pkgname-1.3" proc package { cd $_builddir || return 1 mkdir -p "$pkgdir"/usr/share/icons cp -dpRf Faenza* "$pkgdir"/usr/share/icons find "$pkgdir"/usr/share/icons -name 'xchat*' | while read i { ln -s ${i##*/} ${i/xchat/hexchat} || break } } proc _app { local app="$1" glob= shift setvar pkgdesc = ""$pkgname - $app"" setvar replaces = "$pkgname" if test -n $app { setvar install_if = ""$pkgname=$pkgver-r$pkgrel $app"" } else { setvar install_if = '' } cd $pkgdir for glob in "$@" { find . -name $glob | while read path { mkdir -p "$subpkgdir/${path%/*}" mv "$pkgdir/$path" "$subpkgdir/$path" || return 1 } } } proc abiword { _app abiword 'abiword*'; } proc audacious { _app audacious 'audacious*'; } proc audacity { _app audacity 'audacity*'; } proc evince { _app evince 'evince*'; } proc firefox { _app firefox '*firefox*'; } proc geany { _app geany 'geany*'; } proc gimp { _app gimp 'gimp*'; } proc glade { _app glade 'glade*'; } proc gnome_panel { _app gnome-panel 'gnome-panel*'; } proc gnome_session { _app gnome-session 'gnome-session*'; } proc gnumeric { _app gnumeric 'gnumeric*'; } proc gparted { _app gparted 'gparted*'; } proc hexchat { setvar depends = ""$pkgname-xchat""; _app hexchat 'hexchat*'; } proc imagemagick { _app imagemagick 'imagemagick*'; } proc inkscape { _app inkscape 'inkscape*'; } proc lo_base { _app libreoffice-base 'libreoffice*-base*'; } proc lo_calc { _app libreoffice-calc 'libreoffice*-calc*'; } proc lo_common { _app libreoffice-common 'libreoffice*-startcenter*'; } proc lo_draw { _app libreoffice-draw 'libreoffice*-draw*'; } proc lo_impress { _app libreoffice-impress 'libreoffice*-impress*'; } proc lo_main { _app libreoffice-main 'libreoffice*-main*'; } proc lo_math { _app libreoffice-math 'libreoffice*-math*'; } proc lo_writer { _app libreoffice-writer 'libreoffice*-writer*'; } proc libreoffice { _app libreoffice 'libreoffice*'; } proc midori { _app midori 'midori*'; } proc mplayer { _app mplayer 'mplayer*'; } proc pidgin { _app pidgin 'pidgin*'; } proc shotwell { _app shotwell 'shotwell*'; } proc thunar { _app thunar 'thunar*'; } proc transmission { _app transmission 'transmission*'; } proc truecrypt { _app truecrypt 'truecrypt*'; } proc vim { _app vim 'vim*'; } proc vlc { _app vlc 'vlc*'; } proc wine { _app wine '*wine*'; } proc wireshark { _app wireshark 'wireshark*'; } proc xbmc { _app xbmc 'xbmc*'; } proc xchat { _app xchat 'xchat*'; } proc xfce4_appfinder { _app xfce4-appfinder 'xfce4-appfinder*'; } proc xfce4_panel { _app xfce4-panel 'xfce4-panel*'; } # testing proc deadbeef { _app deadbeef 'deadbeef*'; } proc dia { _app dia 'dia*'; } proc emacs { _app emacs 'emacs*'; } proc evolution { _app evolution '*evolution*'; } proc hardinfo { _app hardinfo 'hardinfo*'; } proc thunderbird { _app thunderbird '*thunderbird*'; } proc totem { _app totem 'totem*'; } #unsupported apps proc extras { _app "" \ '*adobe*' \ '*chess*' \ '*crom*' \ '*ubuntu*' \ 'WorldOfGoo*' \ 'amue*' \ 'blender*' \ 'bluefish*' \ 'bluegriffon' \ 'brasero*' \ 'bug-buddy*' \ 'chromium-browser' \ 'clementine*' \ 'comix' \ 'computerjanitor*' \ 'desura*' \ 'docky*' \ 'dropbox*' \ 'eclipse*' \ 'emesene' \ 'emsene*' \ 'eog.*' \ 'exaile*' \ 'f-spot*' \ 'fedora*' \ 'filezilla' \ 'frostwire*' \ 'gajim*' \ 'gbrainy*' \ 'gcstar*' \ 'glippy*' \ 'gnome-activity' \ 'gnome-aisleriot' \ 'gnome-do*' \ 'gnome-freecell' \ 'gnome-glines' \ 'gnome-gnect*' \ 'gnome-gnibbles' \ 'gnome-iagno' \ 'gnome-klotski' \ 'gnome-lightsoff' \ 'gnome-mahjong*' \ 'gnome-mines*' \ 'gnome-mines*' \ 'gnome-quadrapassel' \ 'gnome-robots' \ 'gnome-samegnome' \ 'gnome-sudoku' \ 'gnome-swell-foop' \ 'gnome-tali*' \ 'gnome-tetravex' \ 'google-chrome' \ 'googleearth*' \ 'guayadeque*' \ 'gwibber*' \ 'haguichi*' \ 'homebank*' \ 'icedove' \ 'iceweasel' \ 'jdownloader' \ 'jockey*' \ 'library-internet-radio' \ 'logviewer' \ 'miro*' \ 'mono*' \ 'mypaint*' \ 'netbeans*' \ 'nvidia-settings*' \ 'ooo-*' \ 'ooo-*' \ 'openttd*' \ 'opera*' \ 'picasa*' \ 'pino*' \ 'pithos*' \ 'pitivi*' \ 'ppa.*' \ 'rhythmbox' \ 'rythmbox*' \ 'shutter*' \ 'skype*' \ 'softwarecenter-debian' \ 'spotify*' \ 'steam*' \ 'stellarium*' \ 'synapse*' \ 'telepathy*' \ 'tomboy*' \ 'tvtime*' \ 'wxbanker*' \ 'xine' \ 'xournal*' \ } setvar md5sums = ""b5339b70cbb821b583499e725957b150 faenza-icon-theme_1.3.1.tar.gz"" setvar sha256sums = ""afd1c32229989e4cf09733c1ce5f2a651e585d86f45e98e9de6e8813f15d0edc faenza-icon-theme_1.3.1.tar.gz"" setvar sha512sums = ""0c017ddbaa2dba485341d3bb1e321fafad026aafc893fa2519ddfd3fe0475fc8d011c99ce3de581c9b1c6aa7d250312673dda7c10bb12783db2d45816646ddc9 faenza-icon-theme_1.3.1.tar.gz""