summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1fec52d8ef4d581258122fc9b43163a4a29d0c1 (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: Corwin <corwin@kuiper.dev>

pkgname=melonds
pkgver=0.9.3
pkgdesc='DS emulator, sorta'
pkgrel=1
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="http://melonds.kuribo64.net/"
license=('GPLv3')
makedepends=('cmake' 'pkg-config')
depends=('sdl2' 'libslirp' 'qt5-base' 'libepoxy')
source=("https://github.com/Arisotura/melonDS/archive/$pkgver.tar.gz")

sha256sums=('c50a3855c1f77f58a2b15045687dc399b845224a970fe68ff95919c939ac634f')

build() {
  if [[ -d build ]]; then
    rm -rf build
  fi
  mkdir build
  cd build
  cmake ../melonDS-$pkgver \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX='/usr'
  make VERBOSE=ON
}

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