summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c93830e2d5aaa2e201039f2cc008928636ccc235 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer:

## options
if [[ (-z "$_srcinfo" && -z "$_pkgver") ]]; then
  : ${_autoupdate:=true}
fi

: ${_build_git:=false}
: ${_canary:=false}

: ${_install_path:=usr/lib}
: ${startdir:=.}

_pkgname="ryujinx"
pkgname="$_pkgname"
pkgver=1.2.76
pkgrel=2
pkgdesc="Experimental Nintendo Switch Emulator written in C#"
url="https://github.com/GreemDev/Ryujinx"
license=('MIT')
arch=('x86_64')

source "$startdir"/PKGBUILD.common

if [[ "${_build_git::1}" == "t" ]]; then
  source "$startdir"/PKGBUILD.git
elif [[ "${_canary::1}" == "t" ]]; then
  _autoupdate=true
  source "$startdir"/PKGBUILD.canary
else
  source "$startdir"/PKGBUILD.release
fi

_update_version
_source_ryujinx

source+=(
  PKGBUILD.canary
  PKGBUILD.common
  PKGBUILD.git
  PKGBUILD.release
)
sha256sums+=(
  'SKIP'
  'SKIP'
  'SKIP'
  'SKIP'
)