mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-15 10:32:23 +01:00
31 lines
854 B
Plaintext
31 lines
854 B
Plaintext
# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
pkgname=httpx
|
|
pkgver=1.6.9
|
|
pkgrel=1
|
|
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="
|
|
aafb59ef63186cd38c951f19531e826f868c0b9ca56defd06497632c4e9b6d63ca3177599171a4ed28c422cfe2a28570508d6ccd95f0718594eaee7c311f1dfa httpx-1.6.9.tar.gz
|
|
"
|