[arch-commits] Commit in (4 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Thu Nov 25 20:27:11 UTC 2021
Date: Thursday, November 25, 2021 @ 20:27:11
Author: svenstaro
Revision: 1054786
Move sentry-cli from AUR
Added:
sentry-cli/
sentry-cli/repos/
sentry-cli/trunk/
sentry-cli/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: sentry-cli/trunk/PKGBUILD
===================================================================
--- sentry-cli/trunk/PKGBUILD (rev 0)
+++ sentry-cli/trunk/PKGBUILD 2021-11-25 20:27:11 UTC (rev 1054786)
@@ -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' '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