Skip to content

Commit

Permalink
wcurl: Update to 2024.12.08
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Dec 13, 2024
1 parent bf399ca commit 892b1f2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions wcurl/0001-force-cygwin-curl.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
--- wcurl-2024.07.10/wcurl.orig 2024-08-03 21:22:27.193328800 +0200
+++ wcurl-2024.07.10/wcurl 2024-08-03 21:22:31.933752200 +0200
@@ -114,7 +114,7 @@

--- a/wcurl.orig 2024-12-13 14:45:11.481319400 +0100
+++ a/wcurl 2024-12-13 14:45:33.472096100 +0100
@@ -180,7 +180,7 @@
# Execute curl with the list of URLs provided by the user.
exec_curl() {
exec_curl()
{
- CMD="curl "
+ CMD="/usr/bin/curl "

Expand Down
16 changes: 8 additions & 8 deletions wcurl/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
pkgname=wcurl
pkgver=2024.07.10
pkgver=2024.12.08
pkgrel=1
pkgdesc='Simple wrapper around curl to easily download files'
arch=(any)
url='https://samueloph.dev/blog/announcing-wcurl-a-curl-wrapper-to-download-files/'
msys2_repository_url='https://github.com/Debian/wcurl'
url='https://curl.se/wcurl'
msys2_repository_url='https://github.com/curl/wcurl'
license=(spdx:curl)
depends=(bash curl)
source=("$pkgname-$pkgver.tar.gz::https://github.com/Debian/wcurl/archive/refs/tags/${pkgver}.tar.gz"
source=("wcurl-${pkgver}.tar.gz::https://github.com/curl/wcurl/archive/refs/tags/v${pkgver}.tar.gz"
"0001-force-cygwin-curl.patch")
sha256sums=('962bb72e36e6f6cedbd21c8ca3af50e7dadd587a49d2482ab3226e76cf6dcc97'
'088aabb8dbfec89486bbea71947ed8cf5af17cb48b28fc06bade0d06b6702b14')
sha256sums=('9c0615b2c5d6b21da79ff559e75452197330d18449085a18e05f4b623b144a94'
'5a520b3afc7a1a86398b41dc969c9b0ecaef692d3b195643845d26257f68e96f')

prepare() {
cd "$srcdir/wcurl-${pkgver}"
cd "wcurl-${pkgver}"
patch -Np1 -i ../0001-force-cygwin-curl.patch
}

package() {
cd "$srcdir/wcurl-${pkgver}"
cd "wcurl-${pkgver}"
install -Dm755 wcurl "$pkgdir/usr/bin/wcurl"
install -Dm644 wcurl.1 "$pkgdir/usr/share/man/man1/wcurl.1"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
Expand Down

0 comments on commit 892b1f2

Please sign in to comment.