diff options
Diffstat (limited to 'drill')
| -rw-r--r-- | drill/.SRCINFO | 14 | ||||
| -rw-r--r-- | drill/PKGBUILD | 26 |
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 @@ | |||
| 1 | pkgbase = 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 | |||
| 14 | pkgname = 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 | |||
| 4 | pkgname=drill | ||
| 5 | pkgver=0.9.0 | ||
| 6 | pkgrel=1 | ||
| 7 | pkgdesc="HTTP load testing application written in Rust inspired by Ansible syntax" | ||
| 8 | url="https://github.com/fcsonline/drill" | ||
| 9 | depends=('openssl' 'gcc-libs') | ||
| 10 | makedepends=('cargo') | ||
| 11 | arch=('x86_64') | ||
| 12 | license=('GPL-3.0-or-later') | ||
| 13 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") | ||
| 14 | sha256sums=('ac486698c33daecb2d099fbb890d0b37ffd9baf3655d620f57932e1d398b44fc') | ||
| 15 | |||
| 16 | build() { | ||
| 17 | cd "$pkgname-$pkgver" | ||
| 18 | cargo build --release | ||
| 19 | } | ||
| 20 | |||
| 21 | package() { | ||
| 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 | } | ||
