mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 12:26:24 +02:00
30 lines
820 B
Text
30 lines
820 B
Text
# Contributor: Jonas <spameier+alpine@proton.me>
|
|
# Maintainer: Jonas <spameier+alpine@proton.me>
|
|
pkgname=httpx
|
|
pkgver=1.7.0
|
|
pkgrel=2
|
|
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="
|
|
a9353429fecf4bfee586f4a10b69b7c8e1790df4e2dd62c45128734c0471185b98e684f12b7bf5a3bafd72950f4ad1b01d76a5a3ecbfa79fc4c424294af141e4 httpx-1.7.0.tar.gz
|
|
"
|