2010-09-10 10:16:32 +08:00
|
|
|
#
|
2012-02-07 17:21:11 +08:00
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
2010-09-10 10:16:32 +08:00
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
pkgname=qmc2
|
2012-02-07 17:21:11 +08:00
|
|
|
pkgver=0.35
|
2011-04-04 18:05:47 +08:00
|
|
|
pkgrel=1
|
2010-09-10 10:16:32 +08:00
|
|
|
pkgdesc="Qt 4 based UNIX MAME frontend supporting SDLMAME."
|
|
|
|
url="http://qmc2.arcadehits.net"
|
|
|
|
license=("GPL")
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
depends=('qt' 'phonon' 'sdl' 'libxmu')
|
|
|
|
makedepends=('rsync' 'mesa')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('games')
|
2010-09-10 10:16:32 +08:00
|
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
|
|
|
|
'qmamecat.desktop')
|
2012-02-07 17:21:11 +08:00
|
|
|
md5sums=('90b621579ac2773db91550b2650a9daf'
|
2010-09-10 10:16:32 +08:00
|
|
|
'bf2a7898e6fff196fb99b5bcc4128a79')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$pkgname"
|
|
|
|
|
|
|
|
export CTIME=0
|
|
|
|
|
|
|
|
make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr || return 1
|
|
|
|
make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr DESTDIR=$pkgdir install || return 1
|
|
|
|
|
|
|
|
mkdir -p $pkgdir/usr/share/{applications,pixmaps}
|
|
|
|
|
|
|
|
install -D -m644 "$srcdir/qmamecat.desktop" "$pkgdir/usr/share/applications" && \
|
|
|
|
install -D -m644 "$srcdir/qmc2/data/img/mame.png" "$pkgdir/usr/share/pixmaps"
|
|
|
|
}
|