summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5d582bf7a8786e20ea910648e5eb64de96e0417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: André "devkcud" Albanese Junior <patommmmm@proton.me>
pkgname=spurt
pkgver=1.0.0
pkgrel=1
pkgdesc="HTTP stress testing tool that can overload web servers"
arch=("x86_64")
url="https://github.com/zer-far/spurt"
license=("GPL-3.0-only")
makedepends=("go")
conflicts=("$pkgname-git")
source=("$pkgname-$pkgver.tar.gz::https://github.com/zer-far/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=("9e6fd5cc6a83027df07f12177921710de3729fb55068a7d20ecd08d1fece558c")

build() {
  cd "$pkgname-$pkgver"
  make build
}

package() {
  cd "$pkgname-$pkgver"
  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}