Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] upwork: update to 5.8.0.24.
@ 2023-01-03  0:56 lz-coder
  2023-01-03  1:03 ` [PR PATCH] [Updated] " lz-coder
  2023-01-29 17:53 ` [PR PATCH] [Closed]: " lz-coder
  0 siblings, 2 replies; 3+ messages in thread
From: lz-coder @ 2023-01-03  0:56 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2310 bytes --]

From 18c83121dc8d38593decfadf19c0543ec45f674f 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 | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/upwork/template b/srcpkgs/upwork/template
index ef8a196d7dfd..01c57dc55f49 100644
--- a/srcpkgs/upwork/template
+++ b/srcpkgs/upwork/template
@@ -1,19 +1,19 @@
 # Template file for 'upwork'
 pkgname=upwork
-version=5.6.10.0
-revision=1
+version=5.8.0.24
+revision=2
 _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
 }

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] upwork: update to 5.8.0.24.
  2023-01-03  0:56 [PR PATCH] upwork: update to 5.8.0.24 lz-coder
@ 2023-01-03  1:03 ` lz-coder
  2023-01-29 17:53 ` [PR PATCH] [Closed]: " lz-coder
  1 sibling, 0 replies; 3+ messages in thread
From: lz-coder @ 2023-01-03  1:03 UTC (permalink / raw)
  To: ml

[-- 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
 }

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: upwork: update to 5.8.0.24.
  2023-01-03  0:56 [PR PATCH] upwork: update to 5.8.0.24 lz-coder
  2023-01-03  1:03 ` [PR PATCH] [Updated] " lz-coder
@ 2023-01-29 17:53 ` lz-coder
  1 sibling, 0 replies; 3+ messages in thread
From: lz-coder @ 2023-01-29 17:53 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

upwork: update to 5.8.0.24.
https://github.com/void-linux/void-packages/pull/41416

Description:
<!-- 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)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-01-29 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-03  0:56 [PR PATCH] upwork: update to 5.8.0.24 lz-coder
2023-01-03  1:03 ` [PR PATCH] [Updated] " lz-coder
2023-01-29 17:53 ` [PR PATCH] [Closed]: " lz-coder

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).