summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Kolesnykov2022-07-08 18:23:58 +0300
committerYurii Kolesnykov2022-07-08 18:23:58 +0300
commit5a7d9fffd1c368993c96449676e7debdae3a5606 (patch)
treee693d2644d449e8cb80000f8706b60239682ac57
parent1ca5ceefe71dd06a1809fde98231765668e49105 (diff)
downloadaur-5a7d9fffd1c368993c96449676e7debdae3a5606.tar.gz
manual download
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a369b2b578c9..b02226f43702 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = upwork
pkgdesc = Upwork Desktop Application
pkgver = 5.6.10.13
- pkgrel = 1
+ pkgrel = 2
url = https://www.upwork.com/ab/downloads/os/linux/
arch = x86_64
license = custom
@@ -9,7 +9,7 @@ pkgbase = upwork
depends = gtk3
depends = libxss
depends = nss
- source = https://upwork-usw2-desktopapp.upwork.com/binaries/v5_6_10_13_3c485d1dd2af4f61/upwork_5.6.10.13_amd64.deb
+ source = file://upwork_5.6.10.13_amd64.deb
source = LICENSE
sha256sums = c3e1ecf14c99596f434edf93a2e08f031fbaa167025d1280cf19f68b829d6b79
sha256sums = 793d8d7bc0f088c48798bda3d5483972636c6b8c5dcd9aeaf85411f7d4547b38
diff --git a/PKGBUILD b/PKGBUILD
index f2a8d915c174..17bdaedc54f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,19 @@
# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
+#
+# Upwork allows to download Linux binaries only for logged-in users.
+# Download a deb package from https://www.upwork.com/ab/downloads/os/linux/
+# and place it in the same directory as this PKGBUILD file, then run makepkg.
pkgname=upwork
pkgver=5.6.10.13
-_hashver=3c485d1dd2af4f61
_pkgname='Upwork'
-pkgrel=1
+pkgrel=2
pkgdesc='Upwork Desktop Application'
arch=(x86_64)
url='https://www.upwork.com/ab/downloads/os/linux/'
license=(custom)
depends=(alsa-lib gtk3 libxss nss)
-source=(https://upwork-usw2-desktopapp.upwork.com/binaries/v${pkgver//./_}_${_hashver}/upwork_${pkgver}_amd64.deb
+source=(file://upwork_${pkgver}_amd64.deb
LICENSE)
sha256sums=('c3e1ecf14c99596f434edf93a2e08f031fbaa167025d1280cf19f68b829d6b79'
'793d8d7bc0f088c48798bda3d5483972636c6b8c5dcd9aeaf85411f7d4547b38')