#Maintainer: Pedro Sousa #This package updated by George Vlahavas (vlahavas~at~gmail~dot~com, gapan@zenwalk forums) pkgname=vice pkgver=2.1 pkgrel=1 zenver=60 arch=i486 source=("http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/vice-$pkgver.tar.gz" "http://pnboy.pinguix.com/gapan/$pkgname/icons.tar.gz" "http://pnboy.pinguix.com/gapan/$pkgname/vice.desktop" "http://pnboy.pinguix.com/gapan/$pkgname/vice") sourcetemplate=http://pnboy.pinguix.com/gapan/$pkgname docs=("AUTHORS" "COPYING" "ChangeLog" "FEEDBACK" "INSTALL" "NEWS" "README") url=http://www.viceteam.org/ options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "vice - an emulator for Commodore's 8-bit computers" "VICE is a program that runs on a Unix, MS-DOS, Win32, OS/2, Acorn" "RISC OS, BeOS, QNX 6.x, Amiga, GP2X or Mac OS X machine and executes" "programs intended for the old 8-bit computers. The current version" "emulates the C64, the C128, the VIC20, almost all PET models, the" "PLUS4 and the CBM-II (aka C610)." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --enable-gnomeui --enable-ethernet --enable-ffmpeg --enable-parsid --enable-fullscreen make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/bin cp $startdir/src/vice $startdir/pkg/usr/bin chmod a+x $startdir/pkg/usr/bin/vice # Copy icons to the right place ICONSIZES="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/$pkgname-$i.png $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps/$pkgname.png; done; # Remove unwanted files rm -rf $startdir/pkg/usr/share/info/dir }