#Maintainer: Juhana 'rexroom' Uuttu #Former Maintainer(s): George Vlahavas (vlahavas~AT~gmail~DOT~com) pkgname=dosbox pkgver=0.73 pkgrel=1 zenver=64 arch=i686 docs=("readme" "thanks" "copying" "changelog" "authors" "news" "todo") url=http://www.dosbox.com/ source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" "dosbox.desktop" "dosbox.png") sourcetemplate=http://cthulhu.daug.net/zenwalk/$pkgname/ #options=('keepdepfile') slackdesc=\ ( #|-----mind-the-gap-----------------------------------------------------| "$pkgname - an x86 emulator with DOS" "DOSBox is an emulator that recreates a MS-DOS compatible environment" "(complete with Sound, Input, Graphics and even basic networking). This" "environment is complete enough to run many classic MS-DOS games" "completely unmodified." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc make || return 1 make install DESTDIR=$startdir/pkg ### Post-build tweaking # Icon-o-matic for size in 16 24 32 48 64 128; do echo "Generating ${size}px icon..." mkdir -p $startdir/pkg/usr/share/icons/hicolor/${size}x${size}/apps convert ../${pkgname}.png -resize ${size}x${size} $startdir/pkg/usr/share/icons/hicolor/${size}x${size}/apps/${pkgname}.png done echo "*** NOW PACKAGING ***" }