summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen2020-02-04 21:30:29 +0100
committerNadia Holmquist Pedersen2020-02-04 22:24:48 +0100
commit1011c2ff3d2119ff43c5c29bfc5f1f47ff8875f7 (patch)
tree3a28a8244283a91c8572abc6675cdf3c4713082f /PKGBUILD
downloadaur-1011c2ff3d2119ff43c5c29bfc5f1f47ff8875f7.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fe10ce578a5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Nadia Holmquist Pedersen <nadia@nhp.sh>
+
+pkgname=melonds-git-jit
+pkgver=0.8.3.r1070.49be24d
+pkgdesc='DS emulator, sorta. also 1st quality melon - JIT recompiler branch.'
+pkgrel=1
+arch=('x86_64' 'aarch64')
+url="http://melonds.kuribo64.net/"
+license=('GPLv3')
+makedepends=('git' 'cmake' 'make' 'pkg-config')
+depends=('gtk3' 'sdl2')
+optdepends=(
+ "libpcap: for direct-mode wireless emulation"
+)
+provides=('melonds')
+conflicts=('melonds' 'melonds-git')
+
+_branch=jit_master_merge
+source=("git+https://github.com/Arisotura/melonDS.git#branch=${_branch}")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/melonDS"
+ printf "%s.r%s.%s" "$(git describe --abbrev=0 --tags)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/melonDS"
+
+ cmake -DCMAKE_INSTALL_PREFIX='/usr'
+ make
+}
+
+package() {
+ cd "${srcdir}/melonDS"
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et: