IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src
STRIPLIB=y
STRIPBIN=y

VERSION=1.0.1
PROGNAME="gnome-extra-themes $VERSION"
DESC="\
gnome-extra-themes                                                     \n\
                                                                       \n\
A collection of high-quality GNOME themes for Metacity and GTK+."

BUILD=1
MAINTAINER="Mark Post <mark.post@eds.com>"
SOURCE=ftp://ftp.gnu.org/pub/gnu/gnome-extra-themes
PKGNAME=gnome-extra-themes-$VERSION-noarch-$BUILD
TAG=OPT

compile() {
   echo Nothing to compile for this package
}

install() {
   mkdir -p /package-gnome-extra-themes/usr/share/themes

      ( cd /package-gnome-extra-themes/usr/share/themes
     for file in $CWD/themes/*.tar.gz ; do
       tar xzf $file
     done
   )

   ( cd /package-gnome-extra-themes
     chown -R root.root .
     find . -type d -exec chmod 755 {} \;
     find . -type f -exec chmod 644 {} \;
     find . -name .xvpics -exec rm -r {} \;
   )
}

special() {
   cd $PKG
   mv package-gnome-extra-themes/* ./
   rmdir package-gnome-extra-themes

   cd $CTL
   cat $CWD/slack-desc > slack-desc
}

