summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2023-09-04 01:22:00 +0300
committerYigit Sever2023-09-04 01:23:53 +0300
commit26a3b457856e3eb32a9103799f93f23dbc8f0537 (patch)
tree2ac3bbae21866a28e446eba9b978d0fd7e6a4db0 /PKGBUILD
parent6bd2021b7df4cfa9e446b5411eeacf35ecd3dc56 (diff)
downloadpackages-26a3b457856e3eb32a9103799f93f23dbc8f0537.tar.gz
packages-26a3b457856e3eb32a9103799f93f23dbc8f0537.tar.bz2
packages-26a3b457856e3eb32a9103799f93f23dbc8f0537.zip
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/
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d34433..dcdc5f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
4_pkgname='httpx' 4_pkgname='httpx'
5pkgname="${_pkgname}-bin" 5pkgname="${_pkgname}-bin"
6pkgver=1.3.4 6pkgver=1.3.4
7pkgrel=1 7pkgrel=2
8pkgdesc='Fast and multi-purpose HTTP toolkit' 8pkgdesc='Fast and multi-purpose HTTP toolkit'
9arch=('x86_64' 'armv6h' 'aarch64') 9arch=('x86_64' 'armv6h' 'aarch64')
10url='https://github.com/projectdiscovery/httpx' 10url='https://github.com/projectdiscovery/httpx'
@@ -12,6 +12,7 @@ license=('MIT')
12provides=("${_pkgname}") 12provides=("${_pkgname}")
13conflicts=("${_pkgname}") 13conflicts=("${_pkgname}")
14options=('!strip') 14options=('!strip')
15install="${pkgname}.install"
15 16
16source_x86_64=("${_pkgname}-${pkgver}-x86_64.zip::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_amd64.zip") 17source_x86_64=("${_pkgname}-${pkgver}-x86_64.zip::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_amd64.zip")
17source_armv6h=("${_pkgname}-${pkgver}-armv6.zip::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_arm.zip") 18source_armv6h=("${_pkgname}-${pkgver}-armv6.zip::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_linux_arm.zip")
@@ -22,7 +23,7 @@ sha256sums_armv6h=('864ea3a135661bb6e7092f40d97a66784d8877ae76237116f2fae7f2dd45
22sha256sums_aarch64=('eb597578de681babd72f219a296b85cd6bc7e5bf9cafa4c24e9cc77947540058') 23sha256sums_aarch64=('eb597578de681babd72f219a296b85cd6bc7e5bf9cafa4c24e9cc77947540058')
23 24
24package() { 25package() {
25 install -Dvm755 "${_pkgname}" -t "${pkgdir}/usr/bin" 26 install -Dvm755 "${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}-toolkit"
26 install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}" 27 install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}"
27 install -Dvm644 'LICENSE.md' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" 28 install -Dvm644 'LICENSE.md' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
28} 29}