summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Bebbington2017-11-07 02:26:19 +0000
committerTom Bebbington2017-11-07 02:26:19 +0000
commit4e7ed467191f5ca335a3ab93e8a57f83766c457f (patch)
treed56f7cf8c62d7251a7bd55ff2cd2c6876ae15438
parent256ba9fafc26dc601b31d988b4160f83af25b3da (diff)
downloadaur-4e7ed467191f5ca335a3ab93e8a57f83766c457f.tar.gz
Update nightly release and remove non-functional version updater
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD8
-rw-r--r--print-version.py13
3 files changed, 5 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85fd87ae54d..8ab8a416071 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,22 @@
pkgbase = citra-nightly-bin
pkgdesc = An experimental open-source Nintendo 3DS emulator/debugger
- pkgver = 385_20171031_ed17c54
- pkgrel = 3
+ pkgver = 401_20171106_c6b2cc2
+ pkgrel = 4
url = https://github.com/citra-emu/citra-nightly/
arch = x86_64
license = GPL
provides = citra
provides = citra-qt
- source = https://github.com/citra-emu/citra-nightly/releases/download/nightly-385/citra-linux-20171031-ed17c54.tar.xz
+ source = https://github.com/citra-emu/citra-nightly/releases/download/nightly-401/citra-linux-20171106-c6b2cc2.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.svg
- source = print-version.py
source = citra.bash
source = citra-qt.bash
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = SKIP
+ sha256sums = 068409ef70c25e8da3f0430c5ff62609d122f2f857525940da8cd792a228a822
+ sha256sums = 61bcee69be306b58fd0bdf6327cdfc88260ba9f9d0694cf54e2d720965bc918b
pkgname = citra-nightly-bin
depends = sdl2
diff --git a/PKGBUILD b/PKGBUILD
index 646499c57b1..fd411280b9c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,6 @@ pkgrel=4
pkgver=401_20171106_c6b2cc2
pkgdesc="An experimental open-source Nintendo 3DS emulator/debugger"
provides=('citra' 'citra-qt')
-builddepends=('curl' 'python')
license=('GPL')
arch=('x86_64')
url="https://github.com/citra-emu/citra-nightly/"
@@ -16,22 +15,15 @@ source=(
"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"
- "print-version.py"
"citra.bash"
"citra-qt.bash"
)
sha256sums=('SKIP'
'SKIP'
'SKIP'
- 'c6a5826c2ec4133ebd1af3d2613a6b1882af1b97038c271b79dd0cd52ec3c6ac'
'068409ef70c25e8da3f0430c5ff62609d122f2f857525940da8cd792a228a822'
'61bcee69be306b58fd0bdf6327cdfc88260ba9f9d0694cf54e2d720965bc918b')
-pkgver() {
- cd $srcdir
- curl "https://api.github.com/repos/citra-emu/citra-nightly/releases" -o releases.json
- python3 print-version.py
-}
package_citra-nightly-bin() {
depends=('sdl2' 'libpng' 'libpng12' 'libcurl-compat' 'bash')
diff --git a/print-version.py b/print-version.py
deleted file mode 100644
index 6d1bcb01c5c..00000000000
--- a/print-version.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import json
-from pprint import pprint
-
-with open('releases.json') as data_file:
- data = json.load(data_file)
-
-latest = data[0]
-build_number = latest['tag_name'].split('-')[1]
-build_name_parts = latest['assets'][0]['name'].split('-')
-build_date = build_name_parts[2]
-build_id = build_name_parts[3].split(".")[0]
-
-print('_'.join([build_number, build_date, build_id])) \ No newline at end of file