updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gambatte-qt / PKGBUILD
blob5a75f17ffcb9ab8e9d3558b3553883a460fa8411
1 # Maintainer: Cedric Mathieu <me.xenom @ gmail.com>
2 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
4 pkgname=gambatte-qt
5 pkgver=0.5.0
6 pkgrel=1
7 pkgdesc="A Qt4 frontent for the Gambatte emulator"
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/gambatte/"
10 license=('GPL')
11 depends=('qt' 'libgl' 'alsa-lib' 'gambatte')
12 makedepends=('make')
13 source=(http://downloads.sourceforge.net/gambatte/gambatte_src-$pkgver-wip2.tar.gz \
14         $pkgname.desktop \
15         compil.patch)
16 md5sums=('0b16930392d5d2d6ccdf6c822d7b0b31'
17          'd74be9dbb91c6b517099f5f1dc46c88e'
18          'd3ef64f655bf3a68485102a722f28d2e')
20 build() {
21   cd gambatte_src-$pkgver-wip2/gambatte_qt/
22   patch -p1 -i ../../compil.patch
24   qmake
25   make  || return 1
27   install -Dm755 bin/gambatte_qt "$pkgdir"/usr/bin/$pkgname
28   install -Dm644 man/gambatte_qt.6 "$pkgdir"/usr/share/man/man6/$pkgname.6
30   install -Dm644 "$srcdir"/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop