diff options
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..135fa6468571 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = melonds-git-jit + pkgdesc = DS emulator, sorta. also 1st quality melon - JIT recompiler branch. + pkgver = 0.8.3.r1070.49be24d + pkgrel = 1 + url = http://melonds.kuribo64.net/ + arch = x86_64 + arch = aarch64 + license = GPLv3 + makedepends = git + makedepends = cmake + makedepends = make + makedepends = pkg-config + depends = gtk3 + depends = sdl2 + optdepends = libpcap: for direct-mode wireless emulation + provides = melonds + conflicts = melonds + conflicts = melonds-git + source = git+https://github.com/Arisotura/melonDS.git#branch=jit_master_merge + sha256sums = SKIP + +pkgname = melonds-git-jit + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fe10ce578a59 --- /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: |