Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] starship: update to 1.13.1
Date: Tue, 04 Apr 2023 05:11:03 +0200	[thread overview]
Message-ID: <20230404031103.5uyw1Vs4JhCR3F_qkZF0EWplenrkCXu0EVjTJjCmq_o@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43221@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

There is an updated pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages starship
https://github.com/void-linux/void-packages/pull/43221

starship: update to 1.13.1
#### Testing the changes
- I tested the changes in this PR: **YES**


A patch file from https://github.com/void-linux/void-packages/pull/43221.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-starship-43221.patch --]
[-- Type: text/x-diff, Size: 1624 bytes --]

From 1e80a7c325d446278eab46ffb08b734d7643f0e1 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
Date: Mon, 3 Apr 2023 23:10:40 -0400
Subject: [PATCH] starship: update to 1.13.1

---
 srcpkgs/starship/template | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/starship/template b/srcpkgs/starship/template
index 6e8e90c3bfe8..9491226271fe 100644
--- a/srcpkgs/starship/template
+++ b/srcpkgs/starship/template
@@ -1,6 +1,6 @@
 # Template file for 'starship'
 pkgname=starship
-version=1.12.0
+version=1.13.1
 revision=1
 build_style=cargo
 build_helper=qemu
@@ -13,14 +13,7 @@ license="ISC"
 homepage="https://starship.rs"
 changelog="https://raw.githubusercontent.com/starship/starship/master/CHANGELOG.md"
 distfiles="https://github.com/starship/starship/archive/refs/tags/v${version}.tar.gz"
-checksum=748a0541009b0bee5f51b716d072f244d8d5cb3fb8d768519ed305494ea11e02
-
-post_build() {
-	STARSHIP="target/${RUST_TARGET}/release/starship"
-	vtargetrun ${STARSHIP} completions zsh  >starship.zsh
-	vtargetrun ${STARSHIP} completions bash >starship.bash
-	vtargetrun ${STARSHIP} completions fish >starship.fish
-}
+checksum=6cce984c7fb0067b9dc457274139f277e2ff56488811c96a7ae68102184656f9
 
 do_check() {
 	mkdir -p fake-home
@@ -28,9 +21,10 @@ do_check() {
 }
 
 post_install() {
-	vcompletion starship.bash bash
-	vcompletion starship.fish fish
-	vcompletion starship.zsh zsh
+	for shell in bash fish zsh; do
+		vtargetrun ${DESTDIR}/usr/bin/starship completions ${shell} > starship.${shell}
+		vcompletion starship.${shell} ${shell}
+	done
 
 	vlicense LICENSE
 }

  parent reply	other threads:[~2023-04-04  3:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-02 19:06 [PR PATCH] " cinerea0
2023-04-02 19:17 ` [PR PATCH] [Updated] " cinerea0
2023-04-04  3:11 ` cinerea0 [this message]
2023-04-07  1:37 ` cinerea0
2023-04-07 10:14 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230404031103.5uyw1Vs4JhCR3F_qkZF0EWplenrkCXu0EVjTJjCmq_o@z \
    --to=cinerea0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).