diff --git a/mingw-w64-wcurl/PKGBUILD b/mingw-w64-wcurl/PKGBUILD new file mode 100644 index 0000000000000..544422f63f60c --- /dev/null +++ b/mingw-w64-wcurl/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Christoph Reiter + +_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" +} +