#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=fuse-emulator pkgver=0.10.0.2 pkgrel=2gv source=("http://downloads.sourceforge.net/fuse-emulator/fuse-$pkgver.tar.gz" "fuse.desktop" "icons.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "thanks") url=http://fuse-emulator.sourceforge.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "fuse-emulator (the Free Unix Spectrum Emulator)" "Fuse (the Free Unix Spectrum Emulator) was originally, and somewhat" "unsurprisingly, a ZX Spectrum emulator for Unix. However, it has now" "also been ported to Mac OS X, which may or may not count as a Unix" "variant depending on your advocacy position. It has also been ported" "to Windows, AmigaOS and MorphOS, which are definitely not Unix" "variants." ) build() { cd $startdir/src/fuse-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/fuse.desktop $startdir/pkg/usr/share/applications/ # Copy icons to the right place ICONSIZES="128 96 72 64 48 32 24 22 16" for i in $ICONSIZES; do mkdir -p $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps; mv $startdir/src/fuse-$i.png $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps/fuse.png; done; }