Github messages for voidlinux
 help / color / mirror / Atom feed
From: lz-coder <lz-coder@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] upwork: update to 5.8.0.24.
Date: Tue, 03 Jan 2023 02:03:33 +0100	[thread overview]
Message-ID: <20230103010333.KHRu2qxFe-g7qUZMaRiaE2NUO1CueD0UXnVfeNQi6nA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41416@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

There is an updated pull request by lz-coder against master on the void-packages repository

https://github.com/lz-coder/void-packages upwork
https://github.com/void-linux/void-packages/pull/41416

upwork: update to 5.8.0.24.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)



A patch file from https://github.com/void-linux/void-packages/pull/41416.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-upwork-41416.patch --]
[-- Type: text/x-diff, Size: 2296 bytes --]

From dc3afcfe26db3bc48bb7fbce2de3e0c4848f7174 Mon Sep 17 00:00:00 2001
From: lz-coder <lzcoder@proton.me>
Date: Mon, 2 Jan 2023 21:45:54 -0300
Subject: [PATCH] upwork: update to 5.8.0.24.

---
 srcpkgs/upwork/template | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/upwork/template b/srcpkgs/upwork/template
index ef8a196d7dfd..452519a9ac16 100644
--- a/srcpkgs/upwork/template
+++ b/srcpkgs/upwork/template
@@ -1,19 +1,19 @@
 # Template file for 'upwork'
 pkgname=upwork
-version=5.6.10.0
+version=5.8.0.24
 revision=1
 _rawver=${version//./_}
-_hashver="b124e6f3a4944b32"
+_hashver="aef0dc8c37cf46a8"
 archs="x86_64"
+makedepends="curl"
 depends="alsa-lib gtk+ GConf gdk-pixbuf nss libXtst libXScrnSaver"
 short_desc="Desktop Upwork app"
 maintainer="Arthur Evstifeev <mail@ap4y.me>"
 license="custom:Upwork"
 homepage="https://upwork.com/"
-distfiles="https://upwork-usw2-desktopapp.upwork.com/binaries/v${_rawver}_${_hashver}/${pkgname}_${version}_amd64.deb
- https://upwork.pactsafe.io/versions/5ab3efef63d65b6a18aab106.pdf>LICENSE.pdf"
-checksum="fd201ce817abe32e1b582bb4b55fef85ac8132806f5ddf0548fd25bbfd48833c
- 0949da5999c3b948bcc4165e6c55522915d9bab1790d27120eda0915aae143bb"
+distfiles="https://upwork-usw2-desktopapp.upwork.com/binaries/v${_rawver}_${_hashver}/${pkgname}_${version}_amd64.deb"
+_licensefile="https://upwork.pactsafe.io/versions/5ab3efef63d65b6a18aab106.pdf"
+#checksum="fd201ce817abe32e1b582bb4b55fef85ac8132806f5ddf0548fd25bbfd48833c"
 repository="nonfree"
 restricted=yes
 nopie=yes
@@ -22,14 +22,19 @@ nopie=yes
 # will trigger dependency on rpi-userland packages (makes no sense on x86_64).
 skiprdeps="/opt/${pkgname^}/libEGL.so"
 
+do_fetch() {
+	curl -LO --tlsv1.3 -H "User-Agent: Mozilla/5.0 (x11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0" ${distfiles}
+	curl ${_licensefile} > "LICENSE.pdf"
+}
+
 do_extract() {
-	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}_${version}_amd64.deb
+	ar x ${XBPS_BUILDDIR}/${pkgname}_${version}_amd64.deb
 	bsdtar xf data.tar.xz
 }
 
 do_install() {
-	vcopy opt opt
-	vcopy usr usr
+	vcopy opt /
+	vcopy usr /
 	vbin ${FILESDIR}/${pkgname}
-	vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE.pdf
+	vlicense ${XBPS_BUILDDIR}/LICENSE.pdf
 }

  reply	other threads:[~2023-01-03  1:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-03  0:56 [PR PATCH] " lz-coder
2023-01-03  1:03 ` lz-coder [this message]
2023-01-29 17:53 ` [PR PATCH] [Closed]: " lz-coder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230103010333.KHRu2qxFe-g7qUZMaRiaE2NUO1CueD0UXnVfeNQi6nA@z \
    --to=lz-coder@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).