desktop/qmc2/PKGBUILD
2016-03-06 03:27:45 +00:00

30 lines
933 B
Bash

pkgname=qmc2
pkgver=0.61
pkgrel=1
pkgdesc="Qt 4 based UNIX MAME frontend supporting SDLMAME."
url="http://qmc2.batcom-it.net/"
license=("GPL")
arch=('x86_64')
depends=('qtwebkit' 'phonon' 'sdl2' 'libxslt' 'libarchive')
makedepends=('rsync' 'mesa')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
'qmamecat.desktop')
sha1sums=('31d6f0aa8d2678fe25be85598b50dcdd53119c1e'
'b495666abfaca7f9d1241c14d010b6037f66f4d4')
package() {
cd "$srcdir/$pkgname"
make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr LIBARCHIVE=1
}
package(){
cd "$srcdir/$pkgname"
make PREFIX=/usr DATADIR=/usr/share SYSCONFDIR=/etc QTDIR=/usr LIBARCHIVE=1 DESTDIR=$pkgdir install
install -d $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"
}