# $Id: PKGBUILD 27102 2009-02-16 05:54:50Z eric $ # Maintainer: Juergen Hoetzel # Contributor: kleptophobiac@gmail.com pkgname=mythgame pkgver=0.21 pkgrel=1 pkgdesc="Emulation plugin for MythTV" arch=('i686' 'x86_64') url="http://www.mythtv.org" license=('GPL') depends=("mythtv>=${pkgver}" 'zlib') source=("ftp://ftp.osuosl.org/pub/mythtv/mythplugins-$pkgver.tar.bz2") md5sums=('6c08043227bef1384858deee12b5cdc3') groups=('mythtv-extras') build() { cd $startdir/src/mythplugins-$pkgver export QMAKESPEC='linux-g++' source /etc/profile.d/qt3.sh ./configure --prefix=/usr --disable-all --enable-opengl --enable-mythgame qmake mythplugins.pro make qmake || return 1 make -j 2 || return 1 make INSTALL_ROOT=$startdir/pkg install }