[arch-commits] Commit in sentry-cli/repos (community-x86_64 community-x86_64/PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Thu Nov 25 20:46:43 UTC 2021
Date: Thursday, November 25, 2021 @ 20:46:42
Author: svenstaro
Revision: 1054790
archrelease: copy trunk to community-x86_64
Added:
sentry-cli/repos/community-x86_64/
sentry-cli/repos/community-x86_64/PKGBUILD
(from rev 1054789, sentry-cli/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: sentry-cli/repos/community-x86_64/PKGBUILD (from rev 1054789, sentry-cli/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-11-25 20:46:42 UTC (rev 1054790)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+# Contributor: Bambang Catur Pamungkas <bambangcaturz at gmail.com>
+
+pkgname=sentry-cli
+pkgver=1.71.0
+pkgrel=1
+pkgdesc="A command line utility to work with Sentry"
+arch=('x86_64')
+url="https://docs.sentry.io/cli/"
+license=('BSD')
+depends=('gcc-libs' 'bzip2' 'zlib')
+makedepends=('cargo')
+source=("$pkgname-$pkgver.tar.gz"::https://github.com/getsentry/sentry-cli/archive/${pkgver}.tar.gz)
+sha256sums=('6a23dde41298a7aedd6885460e31fa2f4bcf29ab0cb5b0db2f527b234cce0020')
+
+build() {
+ cd $pkgname-$pkgver
+ cargo build --release --locked
+}
+
+check() {
+ cd $pkgname-$pkgver
+ cargo test --release --locked -- --skip vcs
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dm755 target/release/sentry-cli "$pkgdir"/usr/bin/sentry-cli
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list