desktop/qmc2/PKGBUILD
2014-12-16 23:45:47 +00:00

30 lines
952 B
Bash

# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=qmc2
pkgver=0.46
pkgrel=1
pkgdesc="Qt 4 based UNIX MAME frontend supporting SDLMAME."
url="http://qmc2.arcadehits.net"
license=("GPL")
arch=('x86_64')
depends=('qt' 'phonon' 'sdl' 'libxmu')
makedepends=('rsync' 'mesa')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
'qmamecat.desktop')
md5sums=('2709194b5924d21962906222c0ab47d7'
'bf2a7898e6fff196fb99b5bcc4128a79')
package() {
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"
}