main/faenza-icon-theme: symlink hexchat to xchat icons

This commit is contained in:
Natanael Copa 2013-06-12 06:32:01 +00:00
parent c4e567c401
commit 3a7477aef7

View File

@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=faenza-icon-theme
pkgver=1.3.1
pkgrel=2
pkgrel=3
pkgdesc="icons designed to go in tandem with equinox themes"
arch="noarch"
url="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
@ -24,6 +24,7 @@ subpackages="$pkgname-extras
$pkgname-gnome-session:gnome_session
$pkgname-gnumeric
$pkgname-gparted
$pkgname-hexchat
$pkgname-imagemagick
$pkgname-inkscape
$pkgname-midori
@ -61,6 +62,9 @@ package() {
mkdir -p "$pkgdir"/usr/share/icons
cp -dpRf Faenza* "$pkgdir"/usr/share/icons
find "$pkgdir"/usr/share/icons -name 'xchat*' | while read i; do
ln -s "${i##*/}" "${i/xchat/hexchat}" || break
done
}
_app() {
@ -94,6 +98,7 @@ gnome_panel() { _app gnome-panel 'gnome-panel*'; }
gnome_session() { _app gnome-session 'gnome-session*'; }
gnumeric() { _app gnumeric 'gnumeric*'; }
gparted() { _app gparted 'gparted*'; }
hexchat() { depends="$pkgname-xchat"; _app hexchat 'hexchat*'; }
imagemagick() { _app imagemagick 'imagemagick*'; }
inkscape() { _app inkscape 'inkscape*'; }
midori() { _app midori 'midori*'; }
@ -221,3 +226,5 @@ extras() { _app "" \
}
md5sums="b5339b70cbb821b583499e725957b150 faenza-icon-theme_1.3.1.tar.gz"
sha256sums="afd1c32229989e4cf09733c1ce5f2a651e585d86f45e98e9de6e8813f15d0edc faenza-icon-theme_1.3.1.tar.gz"
sha512sums="0c017ddbaa2dba485341d3bb1e321fafad026aafc893fa2519ddfd3fe0475fc8d011c99ce3de581c9b1c6aa7d250312673dda7c10bb12783db2d45816646ddc9 faenza-icon-theme_1.3.1.tar.gz"