mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
30 lines
980 B
Bash
30 lines
980 B
Bash
# $Id: PKGBUILD 2216 2009-09-11 14:28:15Z spupykin $
|
|
# Maintainer: JJDaNiMoTh <jjdanimoth@gmail.com>
|
|
|
|
pkgname=qmc2
|
|
pkgver=0.2.b11
|
|
pkgrel=1
|
|
pkgdesc="Qt 4 based UNIX MAME frontend supporting SDLMAME."
|
|
#url="http://www.mameworld.net/mamecat/"
|
|
url="http://qmc2.arcadehits.net"
|
|
license=("GPL")
|
|
arch=('i686' 'x86_64')
|
|
depends=('qt' 'phonon')
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
|
|
'qmamecat.desktop')
|
|
md5sums=('0ee553277bb67b20003debf4f9496b35'
|
|
'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"
|
|
}
|