summaryrefslogtreecommitdiff
path: root/libre/faenza-icon-theme/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-19 21:18:35 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-05-19 21:21:32 -0300
commitf06feaf662c5d27457eeb9ef9c70c5712305738e (patch)
treeda756358e64528756e2ce9be89ee2c6abcc69504 /libre/faenza-icon-theme/PKGBUILD
parentec35a37cd63a2d16976847eacd7a2daeff0b2a33 (diff)
downloadabslibre-f06feaf662c5d27457eeb9ef9c70c5712305738e.tar.gz
abslibre-f06feaf662c5d27457eeb9ef9c70c5712305738e.tar.bz2
abslibre-f06feaf662c5d27457eeb9ef9c70c5712305738e.zip
rename faenza-icon-theme to faenza-icon-theme-libre because there are nonfree system logos on the source
Diffstat (limited to 'libre/faenza-icon-theme/PKGBUILD')
-rw-r--r--libre/faenza-icon-theme/PKGBUILD76
1 files changed, 0 insertions, 76 deletions
diff --git a/libre/faenza-icon-theme/PKGBUILD b/libre/faenza-icon-theme/PKGBUILD
deleted file mode 100644
index 0a722c25f..000000000
--- a/libre/faenza-icon-theme/PKGBUILD
+++ /dev/null
@@ -1,76 +0,0 @@
-# $Id: PKGBUILD 82319 2013-01-14 22:07:03Z thestinger $
-# Maintainer (Arch): Daniel Micay <danielmicay@gmail.com>
-# Contributor (Arch): Elia Notarangelo <elia.notarangelo AT gmail DOT com>
-# Contributor (Arch): Frikilinux <frikilinux at frikilinux.com.ar>
-# Contributor (Arch): graysky <graysky AT archlinux DOT us>
-# Contributor (Arch): Samsagax <samsagax AT gmail DOT com>
-# Contributor (Arch): simongmzlj <simongmzlj AT gmail DOT com>
-# Maintainer: André Silva <emulatorman@parabola.nu>
-# Contributor: Jorge Araya Navarro <elcorreo@deshackra.com>
-# Contributor: Márcio Silva <coadde@parabola.nu>
-
-pkgname=faenza-icon-theme
-pkgver=1.3.1
-pkgrel=2
-pkgdesc="Icon theme designed for Equinox GTK theme (Parabola rebranded)"
-url="http://gnome-look.org/content/show.php/Faenza?content=128143"
-license=('GPL3')
-arch=('any')
-options=(!strip)
-makedepends=('librsvg')
-source=("http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/$pkgname/${pkgname}_${pkgver}.tar.gz"
- 'distributor-logo-parabola.svg'
- 'start-here-parabola-symbolic.svg')
-md5sums=('b5339b70cbb821b583499e725957b150'
- '0dfb27e36d60266d8f4c3ea763ec1694'
- 'e2301755fc4c552cfee7de72b6ed775a')
-
-prepare() {
- cd "$srcdir/$pkgname-1.3"
- rm -rv debian
-
- # remove nonfree distros and software logos
- for nonfree in archlinux debian fedora frugalware gentoo linux-mint mandriva opensuse redhat slackware ubuntu novell skype; do
- find -name *$nonfree* -delete
- done
-
- # add the Parabola GNU/Linux-libre logos to the source code
- cp -a "$srcdir/distributor-logo-parabola.svg" Faenza/places/scalable
- cp -a "$srcdir/distributor-logo-parabola.svg" Faenza/places/scalable/start-here-parabola.svg
- cp -a "$srcdir/start-here-parabola-symbolic.svg" Faenza/places/scalable
-
- for size in 22 24 32 48 64 96; do
- rsvg-convert -w $size -h $size -o Faenza/places/$size/distributor-logo-parabola.png "$srcdir/distributor-logo-parabola.svg"
- rsvg-convert -w $size -h $size -o Faenza/places/$size/start-here-parabola.png "$srcdir/distributor-logo-parabola.svg"
- rsvg-convert -w $size -h $size -o Faenza/places/$size/start-here-parabola-symbolic.png "$srcdir/start-here-parabola-symbolic.svg"
-
- ln -sf Faenza/places/$size/distributor-logo-parabola.png Faenza/places/$size/parabola-logo.png
- ln -sf Faenza/places/scalable/distributor-logo-parabola.svg parabola-logo.svg
- ln -sf Faenza/places/scalable/start-here-parabola.svg Faenza-Dark/places/scalable/start-here-parabola.svg
- ln -sf Faenza/places/scalable/start-here-parabola-symbolic.svg Faenza-Dark/places/scalable/start-here-parabola-symbolic.svg
- done
-}
-
-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 Parabola GNU/Linux-libre 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{-parabola,}.png
- ln -sf start-here{-parabola,}.png
- done
- cd "$pkgdir/usr/share/icons/$theme/places/scalable/"
- # no distributor-logo for Faenza-Dark
- [[ $theme == Faenza ]] && ln -sf distributor-logo{-parabola,}.svg
- ln -sf start-here{-parabola,}.svg
- ln -sf start-here{-parabola-symbolic,-symbolic}.svg
- done
-}