summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 92b756016e2d4ab7f36187b0d2459b1919a3a42a (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
# Maintainer: Corwin <corwin@kuiper.dev>
# Maintainer: Harrison <htv04rules at gmail dot com>

pkgname=melonds
pkgver=0.9.5
pkgrel=4
pkgdesc="DS emulator, sorta"
arch=("x86_64" "i686" "pentium4" "arm" "armv6h" "armv7h" "aarch64")
url="http://melonds.kuribo64.net/"
license=("GPL3")
makedepends=("git" "cmake" "pkg-config" "extra-cmake-modules")
depends=("libepoxy" "libslirp" "qt5-base" "qt5-multimedia" "sdl2")
source=("git+https://github.com/melonDS-emu/melonDS.git#tag=${pkgver}")
sha256sums=("SKIP")

build() {
  mkdir -p build
  cd build
  
  cmake ../melonDS \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX="/usr"
  make VERBOSE=ON
}

package() {
  cd build
  
  make DESTDIR="${pkgdir}" install
}