summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e462ea8afdd910cdf1afe561ac35b53df7e6e436 (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
# Maintainer: Vaporeon <vaporeon@vaporeon.io>
# Contributor: casa <sympho08@yandex.ru>

pkgname=mednaffe
pkgver=0.9.3
_commit=9d7df3c9de58554cac5a902e36e8058002421020
pkgrel=2
pkgdesc="front-end (GUI) for mednafen emulator"
arch=('x86_64')
url="https://github.com/AmatCoder/mednaffe"
license=('GPL-3.0-only')
depends=('gdk-pixbuf2' 'glib2' 'glibc' 'gtk3' 'hicolor-icon-theme' 'mednafen')
makedepends=('git')
source=("git+https://github.com/AmatCoder/mednaffe.git#commit=$_commit")
sha1sums=('SKIP')

prepare() {
  cd "${srcdir}"/$pkgname
  autoreconf -i -f
}

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

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