summaryrefslogtreecommitdiff
path: root/pcr/mednaffe/PKGBUILD
blob: 8fb5858da8d7bff14dba6e469c4847086e27209d (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
# Maintainer (Arch): MasterLaser <vaporeon@tfwno.gf>
# Maintainer: Márcio Silva <coadde@hyperbola.info>

pkgname=mednaffe
pkgver=0.8
pkgrel=2
pkgdesc="front-end (GUI) for mednafen emulator"
arch=('i686' 'x86_64')
url="https://sites.google.com/site/amatcoder/mednaffe"
license=('GPL')
install=mednaffe.install
depends=('mednafen' 'gtk3')
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 --enable-gtk3
  make
}

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