summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Bebbington2016-06-28 14:34:20 +0100
committerTom Bebbington2016-06-28 14:34:20 +0100
commit35f7988cb1b15557b38c6ce9c98860e580f7e519 (patch)
tree10b5b81ceea0388a78c4d57f3f6208d6e185987a
downloadaur-35f7988cb1b15557b38c6ce9c98860e580f7e519.tar.gz
Initial commit
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD46
2 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1e82d24dcd2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = citra-nightly-bin
+ pkgdesc = An experimental open-source Nintendo 3DS emulator/debugger
+ pkgver = 9cde5cb
+ pkgrel = 1
+ url = https://github.com/citra-emu/citra/
+ arch = x86_64
+ license = GPL
+ provides = citra
+ provides = citra-qt
+ source = https://builds.citra-emu.org/citra/nightly/citra-latest-linux-amd64.tar.xz,
+ source = https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.desktop,
+ source = https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.png
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = SKIP
+
+pkgname = citra-nightly-bin
+ depends = sdl2
+ depends = libpng
+
+pkgname = citra-qt-nightly-bin
+ depends = qt5-base
+ depends = shared-mime-info
+ depends = desktop-file-utils
+ optdepends = libxkbcommon-x11: for X11 support
+ optdepends = qt5-wayland: for Wayland support
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2def83bc621
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Tom Bebbington <tophattedcoder@gmail.com>
+
+_pkgbase='citra'
+pkgbase="$_pkgbase-nightly-bin"
+pkgname=("$_pkgbase-nightly-bin" "$_pkgbase-qt-nightly-bin")
+pkgrel=1
+pkgver=9cde5cb
+pkgdesc="An experimental open-source Nintendo 3DS emulator/debugger"
+provides=('citra' 'citra-qt')
+builddepends=('curl')
+license=('GPL')
+arch=('x86_64')
+url="https://github.com/citra-emu/citra/"
+source=(
+ "https://builds.citra-emu.org/citra/nightly/citra-latest-linux-amd64.tar.xz",
+ "https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.desktop",
+ "https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.png"
+)
+sha256sums=('SKIP' 'SKIP' 'SKIP')
+
+package_citra-nightly-bin() {
+ depends=('sdl2' 'libpng')
+
+ cd $srcdir/citra*
+ mkdir -p "${pkgdir}/usr/bin"
+ mv citra "${pkgdir}/usr/bin"
+}
+package_citra-qt-nightly-bin() {
+ depends=('qt5-base' 'shared-mime-info' 'desktop-file-utils')
+ optdepends=('libxkbcommon-x11: for X11 support'
+ 'qt5-wayland: for Wayland support')
+
+
+ cd $srcdir/citra*
+ mkdir -p $pkgdir/usr/bin
+ cp $srcdir/citra-qt $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/share/applications
+ cp $srcdir/citra.desktop $pkgdir/usr/share/applications
+ mkdir -p $pkgdir/usr/share/pixmaps
+ cp $srcdir/citra.svg $pkgdir/usr/share/pixmaps
+}
+
+pkgver() {
+ cd $srcdir/citra*
+ echo $(citra -v | cut -d " " -f 3)
+}