diff options
author | Mendel Greenberg | 2019-08-29 22:39:38 -0700 |
---|---|---|
committer | Mendel Greenberg | 2019-08-29 22:39:38 -0700 |
commit | 41d4f255fb60c674ac2b71a50e3a9b4acf930b44 (patch) | |
tree | 1b3f64c32bca6a2c4bfbae34966dccf72164da31 | |
download | aur-41d4f255fb60c674ac2b71a50e3a9b4acf930b44.tar.gz |
citra-canary aur package
-rw-r--r-- | .SRCINFO | 36 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5691b8f64bef --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,36 @@ +pkgbase = citra-canary-bin + pkgdesc = An experimental open-source Nintendo 3DS emulator/debugger + pkgver = 1459_20190823_281ef58 + pkgrel = 1 + url = https://citra-emu.org + arch = x86_64 + license = GPL2 + conflicts = citra-git + conflicts = citra-qt-git + conflicts = citra-nightly-bin + conflicts = citra-qt-nightly-bin + conflicts = citra-bin + conflicts = citra-qt + conflicts = citra-canary-bin + conflicts = citra-qt-canary-bin + source = https://github.com/citra-emu/citra-canary/releases/download/canary-1459/citra-linux-20190823-281ef58.tar.xz + source = https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.desktop + sha256sums = 5580b06459ecc6345346b6fc87ba739a3f17d101577e1f7ee43e624757ebc6c0 + sha256sums = 93bd8f799877eba7dd87ed7a4c29607d78c42b8769626c1d479f7e34fb7b39e2 + +pkgname = citra-canary-bin + depends = ffmpeg-compat-57 + depends = libsndio-61-compat + depends = sdl2 + provides = citra + +pkgname = citra-qt-canary-bin + depends = ffmpeg-compat-57 + depends = qt5-multimedia + depends = libsndio-61-compat + depends = sdl2 + depends = desktop-file-utils + optdepends = libxkbcommon-x11: for X11 support + optdepends = qt5-wayland: for Wayland support + provides = citra-qt + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c7e004a9ee99 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Mendel Greenberg <chabad 360 at gmail dot com> + +pkgbase='citra-canary-bin' +pkgname=('citra-canary-bin' 'citra-qt-canary-bin') +pkgrel=1 +pkgver=1459_20190823_281ef58 +pkgdesc="An experimental open-source Nintendo 3DS emulator/debugger" +conflicts=('citra-git' 'citra-qt-git' 'citra-nightly-bin' 'citra-qt-nightly-bin' 'citra-bin' 'citra-qt' 'citra-canary-bin' 'citra-qt-canary-bin') +license=('GPL2') +arch=('x86_64') +url="https://citra-emu.org" + +_canary_id=$(echo $pkgver | cut -d'_' -f1) +_ref="$(echo $pkgver | cut -d'_' -f2)-$(echo $pkgver | cut -d'_' -f3)" + +source=("https://github.com/citra-emu/citra-canary/releases/download/canary-$_canary_id/citra-linux-$_ref.tar.xz" + "https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.desktop") + +sha256sums=('5580b06459ecc6345346b6fc87ba739a3f17d101577e1f7ee43e624757ebc6c0' + '93bd8f799877eba7dd87ed7a4c29607d78c42b8769626c1d479f7e34fb7b39e2') + +package_citra-canary-bin() { + depends=('ffmpeg-compat-57' 'libsndio-61-compat' 'sdl2') + provides=('citra') + + + cd "${srcdir}/citra-linux-${_ref}" + install -Dm755 -t "${pkgdir}/usr/bin" citra + install -Dm755 -t "${pkgdir}/usr/bin" citra-room + +} +package_citra-qt-canary-bin() { + depends=('ffmpeg-compat-57' 'qt5-multimedia' 'libsndio-61-compat' 'sdl2' 'desktop-file-utils') + optdepends=('libxkbcommon-x11: for X11 support' + 'qt5-wayland: for Wayland support') + provides=('citra-qt') + + + cd "${srcdir}/citra-linux-${_ref}" + install -Dm755 -t "${pkgdir}/usr/bin" citra-qt + install -Dm755 -t "${pkgdir}/usr/bin" citra-room + install -Dm644 -t "${pkgdir}/usr/share/pixmaps" "dist/citra.png" + + cd "${srcdir}" + install -Dm644 -t "${pkgdir}/usr/share/applications" "citra.desktop" +} |