summaryrefslogtreecommitdiff
path: root/pcr/mednaffe-gtk2/PKGBUILD
blob: e63ef1c633f4b022f3e9ef5cda14d70a9d0b7e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer (Arch): MasterLaser <vaporeon@tfwno.gf>
# Maintainer: Márcio Silva <coadde@hyperbola.info>

pkgname=mednaffe-gtk2
pkgver=0.8
pkgrel=2
pkgdesc="front-end (GUI) for mednafen emulator (GTK2 Version)"
arch=('i686' 'x86_64')
url="https://sites.google.com/site/amatcoder/mednaffe"
license=('GPL')
install=mednaffe.install
depends=('mednafen' 'gtk2')
provides=('mednaffe')
conflicts=('mednaffe')
source=(https://sites.google.com/site/amatcoder/mednaffe/downloads/mednaffe-$pkgver.tar.gz
        remove-check_version.patch)
md5sums=('ab7c524d70170b8bba8819e71fc136e0'
         'e62f04ddb2c559a1b4bf022ec7b0cc4c')

prepare() {
  cd "$srcdir"/mednaffe-$pkgver
  patch -Np1 -i $srcdir/remove-check_version.patch
}

build() {
  cd "$srcdir"/mednaffe-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir"/mednaffe-$pkgver
  make prefix="$pkgdir"/usr install
}