#Packager: George Vlahavas pkgname=sunflower-fm pkgver=0.1a.36 pkgrel=1gv source=("http://sunflower-fm.googlecode.com/files/Sunflower-0.1a-36.tgz" "sunflower-fm.desktop") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "depends") url=http://code.google.com/p/sunflower-fm/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "sunflower-fm (Twin-panel file manager for Linux)" "Sunflower is a small and highly customizable twin-panel file manager" "for Linux with support for plugins. It is intended to be an" "easy-to-use and powerful file manager that seamlessly integrates into" "the GNOME desktop environment." ) build() { cd $startdir/src/ mkdir -p $startdir/pkg/usr/lib${LIBDIRSUFFIX} cp -r Sunflower $startdir/pkg/usr/lib${LIBDIRSUFFIX} mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/sunflower-fm.desktop $startdir/pkg/usr/share/applications/ mkdir -p $startdir/pkg/usr/share/icons/hicolor/{64x64,scalable}/apps cp $startdir/src/Sunflower/images/sunflower_64.png $startdir/pkg/usr/share/icons/hicolor/64x64/apps/sunflower-fm.png cp $startdir/src/Sunflower/images/sunflower.svg $startdir/pkg/usr/share/icons/hicolor/scalable/apps/sunflower-fm.svg mkdir -p $startdir/pkg/usr/bin echo "#!/bin/sh" > $startdir/pkg/usr/bin/sunflower-fm echo "/usr/lib${LIBDIRSUFFIX}/Sunflower/Sunflower.py \"\$@\"" >> $startdir/pkg/usr/bin/sunflower-fm chmod 755 $startdir/pkg/usr/bin/sunflower-fm }