blob: 55368a89cffca4ad264625defcb7178f937b4b77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Lev Lybin <lev.lybin at gmail dot com>
# Maintainer: Maksym Sheremet <msheremet at sheremets dot com>
pkgname=upwork
pkgver=5.3.3.848
_rawver=${pkgver//./_}
_hashver="ciy2bosj7ts6feza"
pkgrel=1
pkgdesc="Desktop App 64-bit Standard version"
arch=('x86_64')
url="https://www.upwork.com/downloads?source=Footer"
license=('custom')
conflicts=('upwork-alpha')
depends=('alsa-lib' 'gtk3' 'libxss' 'nss')
install=upwork.install
#source=("LICENSE" "xdg_session_type.patch")
#md5sums=('bb535c74d4673cee6437b04d33b32138' 'c99eddfeb02a2dc5272b82b276b88c8a')
source=("LICENSE")
md5sums=('bb535c74d4673cee6437b04d33b32138')
md5sums_x86_64=('112afcc80784ee5cd1837abf11479eee')
# how to get links Prod, Beta, Alpha: grep "_getVersionToDownload" ~/.Upwork/Upwork/Logs/upwork.2*.log | tail -n 1
source_x86_64=(https://updates-desktopapp.upwork.com/binaries/v${_rawver}_${_hashver}/upwork_${pkgver}_amd64.deb)
prepare() {
cd "${srcdir}"
tar -xJf "${srcdir}/data.tar.xz"
# patch -p1 --input="../xdg_session_type.patch"
}
package() {
cd "${srcdir}"
cp -rp usr "${pkgdir}/usr"
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|