wcurl: add 2024.12.08

This commit is contained in:
Christoph Reiter
2024-12-17 08:13:14 +01:00
parent fe16a8ea7c
commit bfbcea6d79

27
mingw-w64-wcurl/PKGBUILD Normal file
View File

@@ -0,0 +1,27 @@
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
_realname=wcurl
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=2024.12.08
pkgrel=1
pkgdesc='Simple wrapper around curl to easily download files (mingw-w64)'
arch=(any)
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://curl.se/wcurl'
msys2_repository_url='https://github.com/curl/wcurl'
license=(spdx:curl)
depends=(
bash
"${MINGW_PACKAGE_PREFIX}-curl"
)
source=("wcurl-${pkgver}.tar.gz::https://github.com/curl/wcurl/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('9c0615b2c5d6b21da79ff559e75452197330d18449085a18e05f4b623b144a94')
package() {
cd "wcurl-${pkgver}"
install -Dm755 wcurl "${pkgdir}${MINGW_PREFIX}/bin/wcurl"
install -Dm644 wcurl.1 "${pkgdir}${MINGW_PREFIX}/share/man/man1/wcurl.1"
install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE"
}