#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) # # Don't have lame installed at build time if you don't want it as # a dependency pkgname=vice pkgver=2.2 pkgrel=1gv 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") docs=("AUTHORS" "COPYING" "ChangeLog" "FEEDBACK" "INSTALL" "NEWS" "README") url=http://www.viceteam.org/ 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 --libdir=/usr/lib${LIBDIRSUFFIX} --sysconfdir=/etc --disable-gnomeui --enable-sdlui --enable-ethernet --disable-ffmpeg --enable-parsid --enable-fullscreen --without-oss --with-sdl --disable-lame 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 mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/vice.desktop $startdir/pkg/usr/share/applications/ # 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 }