PKGBUILDs/community/generator/PKGBUILD
2009-10-09 21:15:33 -05:00

29 lines
975 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Zhukov Pavel <gelios@gmail.com>
# Contributor: Stalwart <stlwrt@gmail.com>
# Contributor: Leslie P. Polzer <polzer@gnu.org>
pkgname=generator
pkgver=0.35_cbiere_r4
_realver=0.35-cbiere-r4
pkgrel=4
pkgdesc="Sega MegaDrive/Genesis Emulator (patched version)"
arch=('i686' 'x86_64')
url="http://www.ghostwhitecrab.com/generator/"
license=("GPL")
depends=('gtk' 'sdl' 'bzip2' 'zlib' 'libjpeg' 'libsm')
makedepends=('nasm')
source=(http://www.squish.net/generator/cbiere/generator/generator-0.35-cbiere-r4.tar.bz2)
md5sums=('db4142912872a3f34d6d4e3bfe693b64')
build() {
cd $startdir/src/$pkgname-$_realver
if [ "$CARCH" = "x86_64" ]; then
# raze optimizations don't work on amd64 =[
./configure --prefix=/usr --with-cmz80 --with-sdl-audio --with-gtk
else
./configure --prefix=/usr --with-raze --with-sdl-audio --with-gtk
fi
make || return 1
make DESTDIR=$startdir/pkg install
}