summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Bebbington2017-02-19 16:03:32 +0000
committerTom Bebbington2017-02-19 16:03:32 +0000
commit569d3a9393a1c31bb3547d7bd2916dd2901b88c7 (patch)
tree32e0dfb579740ce9c7b8a547e68fb64dfad8890f
parent35f7988cb1b15557b38c6ce9c98860e580f7e519 (diff)
downloadaur-569d3a9393a1c31bb3547d7bd2916dd2901b88c7.tar.gz
Use new nightly URL, correct most dependencies having commas between them, and use new versioning ID scheme
-rw-r--r--PKGBUILD28
1 files changed, 12 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2def83bc621..90016955382 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,26 @@
_pkgbase='citra'
pkgbase="$_pkgbase-nightly-bin"
pkgname=("$_pkgbase-nightly-bin" "$_pkgbase-qt-nightly-bin")
-pkgrel=1
-pkgver=9cde5cb
+pkgrel=2
+pkgver="70_20170218_e594e63"
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/"
+url="https://github.com/citra-emu/citra-nightly/"
+id="$(echo $pkgver | cut -d'_' -f2)-$(echo $pkgver | cut -d'_' -f3)"
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"
+ "https://github.com/citra-emu/citra-nightly/releases/download/nightly-$(echo $pkgver | cut -d'_' -f1)/citra-linux-$id.tar.xz"
+ "https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.desktop"
+ "https://raw.githubusercontent.com/citra-emu/citra/master/dist/citra.svg"
)
sha256sums=('SKIP' 'SKIP' 'SKIP')
package_citra-nightly-bin() {
- depends=('sdl2' 'libpng')
+ depends=('sdl2' 'libpng' 'libpng12')
- cd $srcdir/citra*
+ cd $srcdir/citra-linux-$id
mkdir -p "${pkgdir}/usr/bin"
mv citra "${pkgdir}/usr/bin"
}
@@ -31,16 +32,11 @@ package_citra-qt-nightly-bin() {
'qt5-wayland: for Wayland support')
- cd $srcdir/citra*
+ cd $srcdir/citra-linux-$id
mkdir -p $pkgdir/usr/bin
- cp $srcdir/citra-qt $pkgdir/usr/bin
+ mv 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)
-}
+} \ No newline at end of file