summaryrefslogtreecommitdiffstats
path: root/drill
diff options
context:
space:
mode:
Diffstat (limited to 'drill')
-rw-r--r--drill/.SRCINFO14
-rw-r--r--drill/PKGBUILD26
2 files changed, 40 insertions, 0 deletions
diff --git a/drill/.SRCINFO b/drill/.SRCINFO
new file mode 100644
index 0000000..9ccb665
--- /dev/null
+++ b/drill/.SRCINFO
@@ -0,0 +1,14 @@
1pkgbase = drill
2 pkgdesc = HTTP load testing application written in Rust inspired by Ansible syntax
3 pkgver = 0.9.0
4 pkgrel = 1
5 url = https://github.com/fcsonline/drill
6 arch = x86_64
7 license = GPL-3.0-or-later
8 makedepends = cargo
9 depends = openssl
10 depends = gcc-libs
11 source = drill-0.9.0.tar.gz::https://github.com/fcsonline/drill/archive/0.9.0.tar.gz
12 sha256sums = ac486698c33daecb2d099fbb890d0b37ffd9baf3655d620f57932e1d398b44fc
13
14pkgname = drill
diff --git a/drill/PKGBUILD b/drill/PKGBUILD
new file mode 100644
index 0000000..209cfd8
--- /dev/null
+++ b/drill/PKGBUILD
@@ -0,0 +1,26 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
3
4pkgname=drill
5pkgver=0.9.0
6pkgrel=1
7pkgdesc="HTTP load testing application written in Rust inspired by Ansible syntax"
8url="https://github.com/fcsonline/drill"
9depends=('openssl' 'gcc-libs')
10makedepends=('cargo')
11arch=('x86_64')
12license=('GPL-3.0-or-later')
13source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
14sha256sums=('ac486698c33daecb2d099fbb890d0b37ffd9baf3655d620f57932e1d398b44fc')
15
16build() {
17 cd "$pkgname-$pkgver"
18 cargo build --release
19}
20
21package() {
22 cd "$pkgname-$pkgver"
23 install -Dm644 example/*.yml -t "$pkgdir/usr/share/drill/example/"
24 cd target/release
25 install -Dm755 drill "$pkgdir/usr/bin/drill-rs"
26}