diff options
Diffstat (limited to 'PKGBUILD')
| -rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..0dfd83a --- /dev/null +++ b/PKGBUILD | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | # Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> | ||
| 2 | |||
| 3 | pkgname=drill | ||
| 4 | pkgver=0.5.0 | ||
| 5 | pkgrel=1 | ||
| 6 | pkgdesc="Drill is a HTTP load testing application written in Rust inspired by Ansible syntax" | ||
| 7 | url="https://github.com/fcsonline/drill" | ||
| 8 | depends=('openssl') | ||
| 9 | makedepends=('cargo' 'pkgconf') | ||
| 10 | arch=('x86_64') | ||
| 11 | license=('GPL-3.0') | ||
| 12 | source=("${url}/archive/${pkgver}.tar.gz") | ||
| 13 | md5sums=('ecafaa5eae61617cae8c08bb8358b338') | ||
| 14 | |||
| 15 | build() { | ||
| 16 | cd "$pkgname-$pkgver" | ||
| 17 | cargo build --release | ||
| 18 | } | ||
| 19 | |||
| 20 | package() { | ||
| 21 | cd "$pkgname-$pkgver" | ||
| 22 | install -Dm644 example/*.yml -t "$pkgdir/usr/share/drill/example/" | ||
| 23 | install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
| 24 | cd target/release | ||
| 25 | install -Dm755 drill "$pkgdir/usr/bin/drill-rs" | ||
| 26 | } \ No newline at end of file | ||
