From 26a3b457856e3eb32a9103799f93f23dbc8f0537 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 4 Sep 2023 01:22:00 +0300 Subject: upgpkg: httpx-bin 1.3.4-2 httpx-toolkit has been chosen to follow suit with kali linux: https://www.kali.org/tools/httpx-toolkit/ and to prevent binary name clash with: https://archlinux.org/packages/extra/any/python-httpx/ --- PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 4d34433..dcdc5f7 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ _pkgname='httpx' pkgname="${_pkgname}-bin" pkgver=1.3.4 -pkgrel=1 +pkgrel=2 pkgdesc='Fast and multi-purpose HTTP toolkit' arch=('x86_64' 'armv6h' 'aarch64') url='https://github.com/projectdiscovery/httpx' @@ -12,6 +12,7 @@ license=('MIT') provides=("${_pkgname}") conflicts=("${_pkgname}") options=('!strip') +install="${pkgname}.install" source_x86_64=("${_pkgname}-${pkgver}-x86_64.zip::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_amd64.zip") source_armv6h=("${_pkgname}-${pkgver}-armv6.zip::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_arm.zip") @@ -22,7 +23,7 @@ sha256sums_armv6h=('864ea3a135661bb6e7092f40d97a66784d8877ae76237116f2fae7f2dd45 sha256sums_aarch64=('eb597578de681babd72f219a296b85cd6bc7e5bf9cafa4c24e9cc77947540058') package() { - install -Dvm755 "${_pkgname}" -t "${pkgdir}/usr/bin" + install -Dvm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}-toolkit" install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}" install -Dvm644 'LICENSE.md' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" } -- cgit v1.2.3-70-g09d2