summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Morante2018-12-16 17:58:26 +0200
committerOscar Morante2018-12-16 17:58:26 +0200
commitb2cbfc1c2ada1c0d4fbe254930ad6f8fafffda76 (patch)
treeb3a4cce559b911457c7a8a86e6527d3986148a71
parentea774bcb28fb5ad24adcb32bfd6c6459616b8322 (diff)
downloadaur-b2cbfc1c2ada1c0d4fbe254930ad6f8fafffda76.tar.gz
put version in downloaded files
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ca2e4ce5e225..4373a4603265 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = unityhub
pkgdesc = The Unity Hub is a standalone application that streamlines the way you find, download, and manage your Unity Projects and installations.
pkgver = 1.3.2
- pkgrel = 1
+ pkgrel = 2
url = https://forum.unity.com/threads/unity-hub-v-1-3-2-is-now-available.594139
arch = x86_64
license = custom
@@ -14,7 +14,7 @@ pkgbase = unityhub
depends = zip
depends = libxss
depends = gconf
- source = https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.AppImage
+ source = unityhub-1.3.2.AppImage::https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.AppImage
md5sums = a71a4c98b265fe083eaccca33a6fd4ba
pkgname = unityhub
diff --git a/PKGBUILD b/PKGBUILD
index 44c1a929271d..b701218214cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,20 @@
pkgname=unityhub
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="The Unity Hub is a standalone application that streamlines the way you find, download, and manage your Unity Projects and installations."
arch=('x86_64')
url=https://forum.unity.com/threads/unity-hub-v-1-3-2-is-now-available.594139
license=('custom')
depends=('gtk2' 'nss' 'p7zip' 'tar' 'gzip' 'cpio' 'zip' 'libxss' 'gconf')
-source=("https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.AppImage")
+source=("${pkgname}-${pkgver}.AppImage::https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.AppImage")
md5sums=('a71a4c98b265fe083eaccca33a6fd4ba')
PKGEXT='.pkg.tar'
package() {
# Extract AppImage
- chmod +x UnityHubSetup.AppImage
- ./UnityHubSetup.AppImage --appimage-extract
+ chmod +x "${pkgname}-${pkgver}.AppImage"
+ "./${pkgname}-${pkgver}.AppImage" --appimage-extract
# Patch desktop file
_df="${srcdir}/squashfs-root/unityhub.desktop"