#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com #Former: George Vlahavas (vlahavas~at~gmail~dot~com, gapan@zenwalk forums) pkgname=gnome-icon-theme pkgver=2.31.0 zenver=66 pkgrel=1 arch=i486 source=("http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/2.31/gnome-icon-theme-$pkgver.tar.bz2" "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/gnome-icon-theme/zenwalk-dolphin.tar.gz") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/g/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=ftp://ftp.gnome.org/pub/gnome/sources/gnome-icon-theme options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gnome-icon-theme - The GNOME Icon Theme" "The GNOME Icon Theme package contains an assortment of scalable and" "non-scalable icons of different sizes and themes. The GNOME Icon" "Theme is used as a fallback theme when user selected themes do not" "support a given icon." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg # Make Gnome icon theme inherit Tango by default sed -i "s/^Directories=/Inherits=Tango\n\nDirectories=/" $startdir/pkg/usr/share/icons/gnome/index.theme # Copy zenwalk dolphin icon in the package ICONSIZES="48 32 24 22 16" for i in $ICONSIZES; do mv $startdir/src/zenwalk-$i.png $startdir/pkg/usr/share/icons/gnome/$i\x$i/apps/zenwalk.png; chown root:root $startdir/pkg/usr/share/icons/gnome/$i\x$i/apps/zenwalk.png; done; mkdir -p $startdir/pkg/usr/share/icons/gnome/scalable/apps mv $startdir/src/zenwalk.svg $startdir/pkg/usr/share/icons/gnome/scalable/apps chown root:root $startdir/pkg/usr/share/icons/gnome/scalable/apps/zenwalk.svg }