diff options
author | Blallo | 2022-06-18 16:56:52 +0200 |
---|---|---|
committer | Blallo | 2022-06-18 16:56:52 +0200 |
commit | 6dd82ec1efda0c59ae7c152f41573f3e6b9f072a (patch) | |
tree | a3b22afdaa2ba9f298ce804955bcd7dea47df97a | |
download | aur-hetty.tar.gz |
Init at v0.7.0
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..00dc85243135 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = hetty + pkgdesc = An HTTP toolkit for security research + pkgver = 0.7.0 + pkgrel = 1 + url = https://github.com/dstotijn/hetty + arch = x86_64 + arch = arm64 + license = MIT + makedepends = curl + makedepends = tar + source = hetty-0.7.0.tar.gz::https://github.com/dstotijn/hetty/releases/download/v0.7.0/hetty_0.7.0_Linux_x86_64.tar.gz + b2sums = 7960a8743e2071467628e9630c7616a3439d5d0a4d53f1602f2b37275252e8bce470bb1ed844cc241e07a8c6de06625467b83558594f99de7dd0a78d714f3415 + +pkgname = hetty diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..29efd0a11c80 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: blallo@autistici.org +_ext="tar.gz" +pkgname=hetty +pkgver=0.7.0 +pkgrel=1 +pkgdesc="An HTTP toolkit for security research" +arch=(x86_64 arm64) +url="https://github.com/dstotijn/hetty" +license=(MIT) +depends=() +makedepends=(curl tar) +source=("$pkgname-$pkgver.$_ext::${url}/releases/download/v${pkgver}/${pkgname}_${pkgver}_Linux_${arch}.${_ext}") +b2sums=('7960a8743e2071467628e9630c7616a3439d5d0a4d53f1602f2b37275252e8bce470bb1ed844cc241e07a8c6de06625467b83558594f99de7dd0a78d714f3415') + +prepare() { + tar zxvf "$pkgname-$pkgver.$_ext" +} + +package() { + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + mkdir -p $pkgdir/usr/bin + cp $pkgname $pkgdir/usr/bin/ +} |