summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGenesis2019-06-08 14:27:23 +0200
committerGenesis2019-06-08 14:27:23 +0200
commitd3d3c9fe03819b79bd8f44322ef4911d3719bcfc (patch)
tree99402ffa5927f77dfe65a85dbf3f0af5e2c56777
parent1f4c0a2c91da0a543fe2d90fa7c4f10cdac070a4 (diff)
downloadaur-d3d3c9fe03819b79bd8f44322ef4911d3719bcfc.tar.gz
Update source file names
This is done in order to force re-download of source files when updating. Until now, the source file name wasn't versioned, and thus it wasn't downloaded again upon updating, causing an error when checking for MD5 sums. The file names are now containing the the package version.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0f772cc55fe..c13dcfd32c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ankama-launcher
pkgdesc = A multi-game portal for all Ankama games.
pkgver = 2.9.12
- pkgrel = 1
+ pkgrel = 2
url = https://www.ankama.com/en/launcher
arch = i686
arch = x86_64
@@ -12,9 +12,9 @@ pkgbase = ankama-launcher
options = !strip
source = ankama-launcher.desktop.patch
md5sums = f4a3bd087a326c9d31f6c945e7ddbe0b
- source_i686 = https://ankama.akamaized.net/zaap/installers/production/Ankama%20Launcher-Setup-i386.AppImage
+ source_i686 = ankama-launcher-2.9.12-i386.AppImage::https://ankama.akamaized.net/zaap/installers/production/Ankama%20Launcher-Setup-i386.AppImage
md5sums_i686 = 43582538704d96540145186ea8626e1b
- source_x86_64 = https://ankama.akamaized.net/zaap/installers/production/Ankama%20Launcher-Setup-x86_64.AppImage
+ source_x86_64 = ankama-launcher-2.9.12-x86_64.AppImage::https://ankama.akamaized.net/zaap/installers/production/Ankama%20Launcher-Setup-x86_64.AppImage
md5sums_x86_64 = 2563723d9467705b683f3e26428458a0
pkgname = ankama-launcher
diff --git a/PKGBUILD b/PKGBUILD
index f1fbcf2a035..97e01bb4e5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=ankama-launcher
pkgver=2.9.12
-pkgrel=1
+pkgrel=2
pkgdesc='A multi-game portal for all Ankama games.'
url='https://www.ankama.com/en/launcher'
@@ -16,8 +16,8 @@ optdepends=('wine: to play Dofus'
'java-environment: to play Wakfu')
options=('!strip')
source=('ankama-launcher.desktop.patch')
-source_i686=('https://ankama.akamaized.net/zaap/installers/production/Ankama%20Launcher-Setup-i386.AppImage')
-source_x86_64=('https://ankama.akamaized.net/zaap/installers/production/Ankama%20Launcher-Setup-x86_64.AppImage')
+source_i686=("${pkgname}-${pkgver}-i386.AppImage::https://ankama.akamaized.net/zaap/installers/production/Ankama%20Launcher-Setup-i386.AppImage")
+source_x86_64=("${pkgname}-${pkgver}-x86_64.AppImage::https://ankama.akamaized.net/zaap/installers/production/Ankama%20Launcher-Setup-x86_64.AppImage")
md5sums=('f4a3bd087a326c9d31f6c945e7ddbe0b')
md5sums_i686=('43582538704d96540145186ea8626e1b')
md5sums_x86_64=('2563723d9467705b683f3e26428458a0')
@@ -27,7 +27,7 @@ md5sums_x86_64=('2563723d9467705b683f3e26428458a0')
prepare() {
cd "${srcdir}"
- mv "Ankama%20Launcher-Setup-${LARCH}.AppImage" "ankama-launcher.AppImage"
+ mv "${pkgname}-${pkgver}-${LARCH}.AppImage" "ankama-launcher.AppImage"
7z e "${srcdir}/ankama-launcher.AppImage" "zaap.desktop"
7z e "${srcdir}/ankama-launcher.AppImage" "usr/share/icons/hicolor/128x128/apps/zaap.png"