mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-28 08:52:07 +01:00
35 lines
997 B
Plaintext
35 lines
997 B
Plaintext
# Contributor: Jonas <spameier+alpine@proton.me>
|
|
# Maintainer: Jonas <spameier+alpine@proton.me>
|
|
pkgname=httpx
|
|
pkgver=1.9.0
|
|
pkgrel=0
|
|
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
|
|
10-set-GOFLAGS.patch
|
|
"
|
|
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="
|
|
7ad1febee623a9c153133dff87eb3db7fa1e34ff0266891e4481f050bd75c7b4dd60a2ce9213e578885b75c6a9c4887c91106acadcec35bc59f26b2c3dddb671 httpx-1.9.0.tar.gz
|
|
d4fef15d8ac731d2b0c7796527ace43f34bb15f1dfaa107e078f6a8074fcd3bf2e831e9610280215a3bfe8bfb7846a056655d4be157a4d41e9b4af2c9d564d53 10-set-GOFLAGS.patch
|
|
"
|