[arch-commits] Commit in gitprompt-rs/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:59:13 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:59:12
  Author: felixonmars
Revision: 659493

archrelease: copy trunk to community-staging-x86_64

Added:
  gitprompt-rs/repos/community-staging-x86_64/
  gitprompt-rs/repos/community-staging-x86_64/PKGBUILD
    (from rev 659492, gitprompt-rs/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: gitprompt-rs/repos/community-staging-x86_64/PKGBUILD (from rev 659492, gitprompt-rs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:59:12 UTC (rev 659493)
@@ -0,0 +1,26 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Streetwalrus <streetwalrus at codewalr.us>
+
+pkgname=gitprompt-rs
+pkgver=0.2.0
+pkgrel=3
+pkgdesc='Simple Git prompt'
+arch=('x86_64')
+url=https://github.com/Streetwalrus/gitprompt-rs
+license=('MPL2')
+depends=('git')
+makedepends=('rust')
+source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('0126379b1b6dd767a392f41456f4ac41fb9b9ef5a1df4dce91098eba2d31766c53407a1186b61dc4b196ac445c763cdaea61170a732056a1d4e8cb3fbb1a772b')
+
+build() {
+  cd $pkgname-$pkgver
+  cargo build --release --locked
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dt "$pkgdir"/usr/bin target/release/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list