aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake2021-12-11 20:45:00 +0100
committerJake2021-12-11 20:45:00 +0100
commita4394a02a657b5874fc40f034ebee3a2a2a413bb (patch)
tree3270feefe2e0fcfa8f1dc11d317f6e307a77bf98
parent869102d0c3626d94c88896e1425d065fb8f65606 (diff)
downloadaur-a4394a02a657b5874fc40f034ebee3a2a2a413bb.tar.gz
Update: next 2.018-1
upstream release
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
-rw-r--r--update_download_id.sh4
3 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6492337b2ba2..37aa931ba220 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = next
pkgdesc = CGM rc Heli Flight Simulator
- pkgver = 1.727
+ pkgver = 2.018
pkgrel = 1
url = http://www.rc-aerobatics.eu/index_e.html
install = next.install
@@ -9,10 +9,10 @@ pkgbase = next
optdepends = joyutils: jscal, jstest, and jsattach utilities for the Linux joystick driver
optdepends = controllermap: Game controller mapping generator, to generate env. var. SDL_GAMECONTROLLERCONFIG
optdepends = antimicro: Game controller mapping generator, to generate env. var. SDL_GAMECONTROLLERCONFIG
- source = next-1.727.zip::https://www.magentacloud.de/api/sharelink/download?id=9chpuZOR
+ source = next-2.018.zip::https://magentacloud.de/s/ggLbDgGj6A7Aj5a/download/cgm-rc-flight-simulator-linux-2018.zip
source = next.desktop
source = next.sh
- sha512sums = 3a18304066410dc6de2c3cbc83c8a394649b271ee6ebccb9752ee03ecee496183d9a63c00024f913128712e65bf36c4c3a74aa0e258222bc65119d412aa60a83
+ sha512sums = 81157eb03db5dd2275dba9eb07c29ee28f6de30deb92091d6d02b9e9993a9e523367d21f616078ca6550fcd70305c918aaccd12a8e0393f522379d4f05db3312
sha512sums = 73fa793d92ef60e052b82776e89316024fbe46634a695516820b0f2740727c92e94da72f318bb22817686e53f827106ce3048126852c23608295464d90ee4b6d
sha512sums = c982aea8a23d6259069f97a8a71f74270811488818ad0e5c8496047f94cf357d64fe3267f04628030d6b766dc3dd62d5d56ab0387e4ad5bd943a7e7a39598669
diff --git a/PKGBUILD b/PKGBUILD
index d636db6421fd..f4fbd3d5f5c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
# Jake <aur@ja-ke.tech>
pkgname=next
-pkgver=1.727
-_download_id='9chpuZOR'
+pkgver=2.018
+_download_id='ggLbDgGj6A7Aj5a'
pkgrel=1
pkgdesc="CGM rc Heli Flight Simulator"
arch=('x86_64')
@@ -14,11 +14,11 @@ optdepends=( 'joyutils: jscal, jstest, and jsattach utilities for the Linux joys
'antimicro: Game controller mapping generator, to generate env. var. SDL_GAMECONTROLLERCONFIG')
install="${pkgname}.install"
-source=("${pkgname}-${pkgver}.zip::https://www.magentacloud.de/api/sharelink/download?id=${_download_id}"
+source=("${pkgname}-${pkgver}.zip::https://magentacloud.de/s/${_download_id}/download/cgm-rc-flight-simulator-linux-2018.zip"
"next.desktop"
"next.sh")
-sha512sums=('3a18304066410dc6de2c3cbc83c8a394649b271ee6ebccb9752ee03ecee496183d9a63c00024f913128712e65bf36c4c3a74aa0e258222bc65119d412aa60a83'
+sha512sums=('81157eb03db5dd2275dba9eb07c29ee28f6de30deb92091d6d02b9e9993a9e523367d21f616078ca6550fcd70305c918aaccd12a8e0393f522379d4f05db3312'
'73fa793d92ef60e052b82776e89316024fbe46634a695516820b0f2740727c92e94da72f318bb22817686e53f827106ce3048126852c23608295464d90ee4b6d'
'c982aea8a23d6259069f97a8a71f74270811488818ad0e5c8496047f94cf357d64fe3267f04628030d6b766dc3dd62d5d56ab0387e4ad5bd943a7e7a39598669')
diff --git a/update_download_id.sh b/update_download_id.sh
index eb9fd15b5548..a6b53087d118 100644
--- a/update_download_id.sh
+++ b/update_download_id.sh
@@ -1,8 +1,8 @@
-u=https://www.cgm-online.com/cgi-bin/rc_sim_downloadcount.pl?name=next_linux_onedrive
+u='https://www.cgm-online.com/cgi-bin/rc_sim_downloadcount.pl?name=next_linux_mirror'
id=$(curl -Ls -o /dev/null $u -w %{url_effective} | cut -d '/' -f5)
sed -E "s#(_download_id=).*#\1'$id'#" -i PKGBUILD
-target="https://www.magentacloud.de/api/sharelink/download?id=${id}"
+target="https://magentacloud.de/s/${id}/download/cgm-rc-flight-simulator-linux-2018.zip"
echo "Generated download url: $target"
#curl -fLC - --retry 3 --retry-delay 3 -OJ $target