mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
30 lines
856 B
Text
30 lines
856 B
Text
# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
pkgname=httpx
|
|
pkgver=1.6.10
|
|
pkgrel=3
|
|
pkgdesc="A fast and multi-purpose HTTP toolkit that allows running multiple probes."
|
|
url="https://docs.projectdiscovery.io/tools/httpx"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="go"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/projectdiscovery/httpx/archive/refs/tags/v$pkgver.tar.gz"
|
|
options="net"
|
|
|
|
build() {
|
|
make build
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 "$builddir/httpx" -t "$pkgdir/usr/bin/"
|
|
install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
sha512sums="
|
|
badc85be6b310ac3ab46298a0edae6b6836ff1dca230b633831c3c9c913eb1335ebdd01aaf3c9515cd42760a8db09607ade4e5e4f9343bd5113c680c0eb864e2 httpx-1.6.10.tar.gz
|
|
"
|