archrelease: copy trunk to community-any
[ArchLinux/community.git] / sentry-cli / trunk / PKGBUILD
blob2d7518cb49169994ca698385ea6032bc1e438e11
1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: Bambang Catur Pamungkas <bambangcaturz@gmail.com>
4 pkgname=sentry-cli
5 pkgver=2.17.5
6 pkgrel=1
7 pkgdesc="A command line utility to work with Sentry"
8 arch=('x86_64')
9 url="https://docs.sentry.io/cli/"
10 license=('BSD')
11 depends=('gcc-libs' 'bzip2' 'zlib')
12 makedepends=('cargo')
13 options=('!lto')
14 source=("$pkgname-$pkgver.tar.gz"::https://github.com/getsentry/sentry-cli/archive/${pkgver}.tar.gz)
15 sha256sums=('92f52c529098e0af1734ce6cfcf4b9be81b593b4546e195a7245afdc88088d28')
17 build() {
18   cd $pkgname-$pkgver
19   cargo build --release --locked
22 package() {
23   cd $pkgname-$pkgver
24   install -Dm755 target/release/sentry-cli "$pkgdir"/usr/bin/sentry-cli
25   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
28 # vim:set ts=2 sw=2 et: