blob: 209cfd867cc4df837fb6297a843202b7b3d479e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Yigit Sever <yigit at yigitsever dot com>
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=drill
pkgver=0.9.0
pkgrel=1
pkgdesc="HTTP load testing application written in Rust inspired by Ansible syntax"
url="https://github.com/fcsonline/drill"
depends=('openssl' 'gcc-libs')
makedepends=('cargo')
arch=('x86_64')
license=('GPL-3.0-or-later')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('ac486698c33daecb2d099fbb890d0b37ffd9baf3655d620f57932e1d398b44fc')
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$pkgname-$pkgver"
install -Dm644 example/*.yml -t "$pkgdir/usr/share/drill/example/"
cd target/release
install -Dm755 drill "$pkgdir/usr/bin/drill-rs"
}
|