diff options
Diffstat (limited to 'libre/faenza-icon-theme-libre/PKGBUILD')
-rw-r--r-- | libre/faenza-icon-theme-libre/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libre/faenza-icon-theme-libre/PKGBUILD b/libre/faenza-icon-theme-libre/PKGBUILD new file mode 100644 index 000000000..cf87a3cd3 --- /dev/null +++ b/libre/faenza-icon-theme-libre/PKGBUILD @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: +# Contributor: Elia Notarangelo <elia.notarangelo AT gmail DOT com> +# Contributor: Frikilinux <frikilinux at frikilinux.com.ar> +# Contributor: graysky <graysky AT archlinux DOT us> +# Contributor: Samsagax <samsagax AT gmail DOT com> +# Contributor: simongmzlj <simongmzlj AT gmail DOT com> + +pkgname=faenza-icon-theme +pkgver=1.3.1 +pkgrel=2 +pkgdesc="Icon theme designed for Equinox GTK theme" +url="http://gnome-look.org/content/show.php/Faenza?content=128143" +license=('GPL3') +arch=('any') +options=(!strip) +source=("http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz") +md5sums=('b5339b70cbb821b583499e725957b150') + +package() { + cd "$srcdir/$pkgname-1.3" + mkdir -p "$pkgdir/usr/share/icons" "$pkgdir/usr/lib" "$pkgdir/usr/share" + + cp -rf Faenza{,-Dark,-Darkest,-Darker,-Ambiance,-Radiance} "$pkgdir/usr/share/icons/" + cp -rf rhythmbox "$pkgdir/usr/lib/" + cp -rf emesene "$pkgdir/usr/share/" + + # set the Arch Linux Distributor and start menu logo + for theme in Faenza{,-Dark}; do + for size in 22 24 32 48 64 96; do + cd "$pkgdir/usr/share/icons/$theme/places/$size/" + # no distributor-logo for Faenza-Dark + [[ $theme == Faenza ]] && ln -sf distributor-logo{-archlinux,}.png + ln -sf start-here{-archlinux,}.png + done + cd "$pkgdir/usr/share/icons/$theme/places/scalable/" + # no distributor-logo for Faenza-Dark + [[ $theme == Faenza ]] && ln -sf distributor-logo{-archlinux,}.svg + ln -sf start-here{-archlinux,}.svg + ln -sf start-here{-archlinux-symbolic,-symbolic}.svg + done +} |