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