[-- Attachment #1: Type: text/plain, Size: 1216 bytes --] There is a new pull request by akhiljalagam against master on the void-packages repository https://github.com/akhiljalagam/void-packages gum https://github.com/void-linux/void-packages/pull/38427 New package: gum-0.2.0 <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> <!-- #### Local build testing - I built this PR locally for my native architecture, (ARCH-LIBC) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64-musl - armv7l - armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/38427.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-gum-38427.patch --] [-- Type: text/x-diff, Size: 1000 bytes --] From ff628c309eba5fba992e8ec1fe975b9018c482f6 Mon Sep 17 00:00:00 2001 From: akhil <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 19:17:52 +0530 Subject: [PATCH] New package: gum-0.2.0 --- srcpkgs/gum/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/gum/template diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template new file mode 100644 index 000000000000..1742d4be171a --- /dev/null +++ b/srcpkgs/gum/template @@ -0,0 +1,17 @@ +# Template file for 'gum' +pkgname=gum +version=0.2.0 +revision=1 +build_style=go +go_import_path="github.com/charmbracelet/gum" +short_desc="Tool for glamorous shell scripts" +maintainer="akhil <akhil.j@outlook.in>" +license="MIT" +homepage="https://github.com/charmbracelet/gum" +changelog="https://github.com/charmbracelet/gum/releases" +distfiles="https://${go_import_path}/archive/v${version}.tar.gz" +checksum=85bf131216c5ce7fdfc1c8c72d2eca43d4a57e4ce323792f386317b6bfffb032 + +post_install() { + vlicense LICENSE +}
[-- Attachment #1: Type: text/plain, Size: 205 bytes --] New comment by akhiljalagam on void-packages repository https://github.com/void-linux/void-packages/pull/38427#issuecomment-1202619644 Comment: How to get man page and shell completions from go package?
[-- Attachment #1: Type: text/plain, Size: 270 bytes --] New comment by akhiljalagam on void-packages repository https://github.com/void-linux/void-packages/pull/38427#issuecomment-1202619644 Comment: How to get man page and shell completions from go package? https://github.com/charmbracelet/gum/blob/main/man/command.go
[-- Attachment #1: Type: text/plain, Size: 277 bytes --] New comment by tranzystorek-io on void-packages repository https://github.com/void-linux/void-packages/pull/38427#issuecomment-1202638897 Comment: @akhiljalagam gum generates hidden subcommands `gum man` and `gum completion` that you can run wth `vtargetrun` in `post_build`
[-- Attachment #1: Type: text/plain, Size: 262 bytes --] New review comment by tranzystorek-io on void-packages repository https://github.com/void-linux/void-packages/pull/38427#discussion_r935641978 Comment: ```suggestion go_import_path="github.com/charmbracelet/gum" go_ldflags="-X main.Version=v${version}" ```
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --] There is an updated pull request by akhiljalagam against master on the void-packages repository https://github.com/akhiljalagam/void-packages gum https://github.com/void-linux/void-packages/pull/38427 New package: gum-0.2.0 <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> <!-- #### Local build testing - I built this PR locally for my native architecture, (ARCH-LIBC) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64-musl - armv7l - armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/38427.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-gum-38427.patch --] [-- Type: text/x-diff, Size: 1730 bytes --] From ff628c309eba5fba992e8ec1fe975b9018c482f6 Mon Sep 17 00:00:00 2001 From: akhil <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 19:17:52 +0530 Subject: [PATCH 1/2] New package: gum-0.2.0 --- srcpkgs/gum/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/gum/template diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template new file mode 100644 index 000000000000..1742d4be171a --- /dev/null +++ b/srcpkgs/gum/template @@ -0,0 +1,17 @@ +# Template file for 'gum' +pkgname=gum +version=0.2.0 +revision=1 +build_style=go +go_import_path="github.com/charmbracelet/gum" +short_desc="Tool for glamorous shell scripts" +maintainer="akhil <akhil.j@outlook.in>" +license="MIT" +homepage="https://github.com/charmbracelet/gum" +changelog="https://github.com/charmbracelet/gum/releases" +distfiles="https://${go_import_path}/archive/v${version}.tar.gz" +checksum=85bf131216c5ce7fdfc1c8c72d2eca43d4a57e4ce323792f386317b6bfffb032 + +post_install() { + vlicense LICENSE +} From d8d6ec2edc223ac2a31dcc56e321f8ade6397bcc Mon Sep 17 00:00:00 2001 From: Akhil Jalagam <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 19:38:05 +0530 Subject: [PATCH 2/2] Update srcpkgs/gum/template Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com> --- srcpkgs/gum/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template index 1742d4be171a..579532a0a770 100644 --- a/srcpkgs/gum/template +++ b/srcpkgs/gum/template @@ -4,6 +4,7 @@ version=0.2.0 revision=1 build_style=go go_import_path="github.com/charmbracelet/gum" +go_ldflags="-X main.Version=v${version}" short_desc="Tool for glamorous shell scripts" maintainer="akhil <akhil.j@outlook.in>" license="MIT"
[-- Attachment #1: Type: text/plain, Size: 201 bytes --] New comment by tranzystorek-io on void-packages repository https://github.com/void-linux/void-packages/pull/38427#issuecomment-1202656345 Comment: Please squash these changes into the initial commit
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --] There is an updated pull request by akhiljalagam against master on the void-packages repository https://github.com/akhiljalagam/void-packages gum https://github.com/void-linux/void-packages/pull/38427 New package: gum-0.2.0 <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> <!-- #### Local build testing - I built this PR locally for my native architecture, (ARCH-LIBC) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64-musl - armv7l - armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/38427.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-gum-38427.patch --] [-- Type: text/x-diff, Size: 1542 bytes --] From d875562dd05b4376a6d0a2282a66a8e64e19176f Mon Sep 17 00:00:00 2001 From: akhil <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 19:17:52 +0530 Subject: [PATCH] New package: gum-0.2.0 Update srcpkgs/gum/template Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com> --- srcpkgs/gum/template | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 srcpkgs/gum/template diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template new file mode 100644 index 000000000000..f1ca0eb12cc2 --- /dev/null +++ b/srcpkgs/gum/template @@ -0,0 +1,35 @@ +# Template file for 'gum' +pkgname=gum +version=0.2.0 +revision=1 +build_style=go +build_helper=qemu +go_import_path="github.com/charmbracelet/gum" +go_ldflags="-X main.Version=v${version}" +short_desc="Tool for glamorous shell scripts" +maintainer="akhil <akhil.j@outlook.in>" +license="MIT" +homepage="https://github.com/charmbracelet/gum" +changelog="https://github.com/charmbracelet/gum/releases" +distfiles="https://${go_import_path}/archive/v${version}.tar.gz" +checksum=85bf131216c5ce7fdfc1c8c72d2eca43d4a57e4ce323792f386317b6bfffb032 +_completions="bash zsh fish" + +post_build() { + # Generate completion for shells. + cli=$(find $GOPATH/bin -name $pkgname) + for shell in $_completions; do + vtargetrun $cli completion $shell > ${pkgname}.${shell} + done + vtargetrun $cli man > ${pkgname}.1 +} + +post_install() { + vlicense LICENSE + + for shell in $_completions; do + vcompletion ${pkgname}.${shell} $shell gum + done + + vman ${pkgname}.1 +}
[-- Attachment #1: Type: text/plain, Size: 478 bytes --] New review comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/38427#discussion_r935866262 Comment: ```suggestion post_install() { vlicense LICENSE _cli=$(find $GOPATH/bin -name $pkgname) for shell in bash fish zsh; do vtargetrun $_cli completion $shell > ${pkgname}.${shell} vcompletion ${pkgname}.${shell} $shell done vtargetrun $_cli man > ${pkgname}.1 vman ${pkgname}.1 } ``` this is a bit neater
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --] There is an updated pull request by akhiljalagam against master on the void-packages repository https://github.com/akhiljalagam/void-packages gum https://github.com/void-linux/void-packages/pull/38427 New package: gum-0.2.0 <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> <!-- #### Local build testing - I built this PR locally for my native architecture, (ARCH-LIBC) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64-musl - armv7l - armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/38427.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-gum-38427.patch --] [-- Type: text/x-diff, Size: 2974 bytes --] From d875562dd05b4376a6d0a2282a66a8e64e19176f Mon Sep 17 00:00:00 2001 From: akhil <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 19:17:52 +0530 Subject: [PATCH 1/2] New package: gum-0.2.0 Update srcpkgs/gum/template Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com> --- srcpkgs/gum/template | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 srcpkgs/gum/template diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template new file mode 100644 index 000000000000..f1ca0eb12cc2 --- /dev/null +++ b/srcpkgs/gum/template @@ -0,0 +1,35 @@ +# Template file for 'gum' +pkgname=gum +version=0.2.0 +revision=1 +build_style=go +build_helper=qemu +go_import_path="github.com/charmbracelet/gum" +go_ldflags="-X main.Version=v${version}" +short_desc="Tool for glamorous shell scripts" +maintainer="akhil <akhil.j@outlook.in>" +license="MIT" +homepage="https://github.com/charmbracelet/gum" +changelog="https://github.com/charmbracelet/gum/releases" +distfiles="https://${go_import_path}/archive/v${version}.tar.gz" +checksum=85bf131216c5ce7fdfc1c8c72d2eca43d4a57e4ce323792f386317b6bfffb032 +_completions="bash zsh fish" + +post_build() { + # Generate completion for shells. + cli=$(find $GOPATH/bin -name $pkgname) + for shell in $_completions; do + vtargetrun $cli completion $shell > ${pkgname}.${shell} + done + vtargetrun $cli man > ${pkgname}.1 +} + +post_install() { + vlicense LICENSE + + for shell in $_completions; do + vcompletion ${pkgname}.${shell} $shell gum + done + + vman ${pkgname}.1 +} From dc9b489a655d1b92ed7b6ae6c602d4ec7bb63536 Mon Sep 17 00:00:00 2001 From: Akhil Jalagam <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 23:17:27 +0530 Subject: [PATCH 2/2] Update srcpkgs/gum/template Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com> --- srcpkgs/gum/template | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template index f1ca0eb12cc2..c7a872142231 100644 --- a/srcpkgs/gum/template +++ b/srcpkgs/gum/template @@ -13,23 +13,15 @@ homepage="https://github.com/charmbracelet/gum" changelog="https://github.com/charmbracelet/gum/releases" distfiles="https://${go_import_path}/archive/v${version}.tar.gz" checksum=85bf131216c5ce7fdfc1c8c72d2eca43d4a57e4ce323792f386317b6bfffb032 -_completions="bash zsh fish" - -post_build() { - # Generate completion for shells. - cli=$(find $GOPATH/bin -name $pkgname) - for shell in $_completions; do - vtargetrun $cli completion $shell > ${pkgname}.${shell} - done - vtargetrun $cli man > ${pkgname}.1 -} - post_install() { vlicense LICENSE - for shell in $_completions; do - vcompletion ${pkgname}.${shell} $shell gum + _cli=$(find $GOPATH/bin -name $pkgname) + for shell in bash fish zsh; do + vtargetrun $_cli completion $shell > ${pkgname}.${shell} + vcompletion ${pkgname}.${shell} $shell done + vtargetrun $_cli man > ${pkgname}.1 vman ${pkgname}.1 }
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --] There is an updated pull request by akhiljalagam against master on the void-packages repository https://github.com/akhiljalagam/void-packages gum https://github.com/void-linux/void-packages/pull/38427 New package: gum-0.2.0 <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> <!-- #### Local build testing - I built this PR locally for my native architecture, (ARCH-LIBC) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64-musl - armv7l - armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/38427.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-gum-38427.patch --] [-- Type: text/x-diff, Size: 1511 bytes --] From bdae70040fd11331811b92b2333d91aee70d41af Mon Sep 17 00:00:00 2001 From: akhil <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 19:17:52 +0530 Subject: [PATCH] New package: gum-0.2.0 Update srcpkgs/gum/template Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com> Update srcpkgs/gum/template Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com> --- srcpkgs/gum/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/gum/template diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template new file mode 100644 index 000000000000..c7a872142231 --- /dev/null +++ b/srcpkgs/gum/template @@ -0,0 +1,27 @@ +# Template file for 'gum' +pkgname=gum +version=0.2.0 +revision=1 +build_style=go +build_helper=qemu +go_import_path="github.com/charmbracelet/gum" +go_ldflags="-X main.Version=v${version}" +short_desc="Tool for glamorous shell scripts" +maintainer="akhil <akhil.j@outlook.in>" +license="MIT" +homepage="https://github.com/charmbracelet/gum" +changelog="https://github.com/charmbracelet/gum/releases" +distfiles="https://${go_import_path}/archive/v${version}.tar.gz" +checksum=85bf131216c5ce7fdfc1c8c72d2eca43d4a57e4ce323792f386317b6bfffb032 +post_install() { + vlicense LICENSE + + _cli=$(find $GOPATH/bin -name $pkgname) + for shell in bash fish zsh; do + vtargetrun $_cli completion $shell > ${pkgname}.${shell} + vcompletion ${pkgname}.${shell} $shell + done + + vtargetrun $_cli man > ${pkgname}.1 + vman ${pkgname}.1 +}
[-- Attachment #1: Type: text/plain, Size: 185 bytes --] New comment by dmarto on void-packages repository https://github.com/void-linux/void-packages/pull/38427#issuecomment-1206202752 Comment: gum has newly released v0.4.0, please update
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --] There is an updated pull request by akhiljalagam against master on the void-packages repository https://github.com/akhiljalagam/void-packages gum https://github.com/void-linux/void-packages/pull/38427 New package: gum-0.2.0 <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> <!-- #### Local build testing - I built this PR locally for my native architecture, (ARCH-LIBC) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64-musl - armv7l - armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/38427.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-gum-38427.patch --] [-- Type: text/x-diff, Size: 1520 bytes --] From 4cefdc4c56f5294d3c7572f21d3915a52e7e5441 Mon Sep 17 00:00:00 2001 From: akhil <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 19:17:52 +0530 Subject: [PATCH] New package: gum-0.2.0 Update srcpkgs/gum/template Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com> Update srcpkgs/gum/template Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com> updated --- srcpkgs/gum/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/gum/template diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template new file mode 100644 index 000000000000..bb23c610f277 --- /dev/null +++ b/srcpkgs/gum/template @@ -0,0 +1,27 @@ +# Template file for 'gum' +pkgname=gum +version=0.4.0 +revision=1 +build_style=go +build_helper=qemu +go_import_path="github.com/charmbracelet/gum" +go_ldflags="-X main.Version=v${version}" +short_desc="Tool for glamorous shell scripts" +maintainer="akhil <akhil.j@outlook.in>" +license="MIT" +homepage="https://github.com/charmbracelet/gum" +changelog="https://github.com/charmbracelet/gum/releases" +distfiles="https://${go_import_path}/archive/v${version}.tar.gz" +checksum=504a92791dacaa06e025a7fea32f96f9d4f67b26a38b1a07eb2703e5519cea1b +post_install() { + vlicense LICENSE + + _cli=$(find $GOPATH/bin -name $pkgname) + for shell in bash fish zsh; do + vtargetrun $_cli completion $shell > ${pkgname}.${shell} + vcompletion ${pkgname}.${shell} $shell + done + + vtargetrun $_cli man > ${pkgname}.1 + vman ${pkgname}.1 +}
[-- Attachment #1: Type: text/plain, Size: 217 bytes --] New comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/38427#issuecomment-1206804992 Comment: commit message needs to be updated, and the commit body can be removed
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --] There is an updated pull request by akhiljalagam against master on the void-packages repository https://github.com/akhiljalagam/void-packages gum https://github.com/void-linux/void-packages/pull/38427 New package: gum-0.4.0 <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> <!-- #### Local build testing - I built this PR locally for my native architecture, (ARCH-LIBC) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64-musl - armv7l - armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/38427.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-gum-38427.patch --] [-- Type: text/x-diff, Size: 2234 bytes --] From 4cefdc4c56f5294d3c7572f21d3915a52e7e5441 Mon Sep 17 00:00:00 2001 From: akhil <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 19:17:52 +0530 Subject: [PATCH 1/2] New package: gum-0.2.0 Update srcpkgs/gum/template Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com> Update srcpkgs/gum/template Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com> updated --- srcpkgs/gum/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/gum/template diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template new file mode 100644 index 000000000000..bb23c610f277 --- /dev/null +++ b/srcpkgs/gum/template @@ -0,0 +1,27 @@ +# Template file for 'gum' +pkgname=gum +version=0.4.0 +revision=1 +build_style=go +build_helper=qemu +go_import_path="github.com/charmbracelet/gum" +go_ldflags="-X main.Version=v${version}" +short_desc="Tool for glamorous shell scripts" +maintainer="akhil <akhil.j@outlook.in>" +license="MIT" +homepage="https://github.com/charmbracelet/gum" +changelog="https://github.com/charmbracelet/gum/releases" +distfiles="https://${go_import_path}/archive/v${version}.tar.gz" +checksum=504a92791dacaa06e025a7fea32f96f9d4f67b26a38b1a07eb2703e5519cea1b +post_install() { + vlicense LICENSE + + _cli=$(find $GOPATH/bin -name $pkgname) + for shell in bash fish zsh; do + vtargetrun $_cli completion $shell > ${pkgname}.${shell} + vcompletion ${pkgname}.${shell} $shell + done + + vtargetrun $_cli man > ${pkgname}.1 + vman ${pkgname}.1 +} From 8d00ff5545038ffa6654d3e47654d962c2558da6 Mon Sep 17 00:00:00 2001 From: akhil <akhil.j@outlook.in> Date: Sat, 6 Aug 2022 11:22:25 +0530 Subject: [PATCH 2/2] New package: gum-0.4.0 --- srcpkgs/gum/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template index bb23c610f277..6d8b5ca73fc5 100644 --- a/srcpkgs/gum/template +++ b/srcpkgs/gum/template @@ -13,6 +13,7 @@ homepage="https://github.com/charmbracelet/gum" changelog="https://github.com/charmbracelet/gum/releases" distfiles="https://${go_import_path}/archive/v${version}.tar.gz" checksum=504a92791dacaa06e025a7fea32f96f9d4f67b26a38b1a07eb2703e5519cea1b + post_install() { vlicense LICENSE
[-- Attachment #1: Type: text/plain, Size: 1221 bytes --] There is an updated pull request by akhiljalagam against master on the void-packages repository https://github.com/akhiljalagam/void-packages gum https://github.com/void-linux/void-packages/pull/38427 New package: gum-0.4.0 <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> <!-- #### Local build testing - I built this PR locally for my native architecture, (ARCH-LIBC) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64-musl - armv7l - armv6l-musl --> A patch file from https://github.com/void-linux/void-packages/pull/38427.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-gum-38427.patch --] [-- Type: text/x-diff, Size: 1318 bytes --] From 0ce0af3080735e4bce8430713d06f6dc38d99165 Mon Sep 17 00:00:00 2001 From: akhil <akhil.j@outlook.in> Date: Tue, 2 Aug 2022 19:17:52 +0530 Subject: [PATCH] New package: gum-0.4.0 --- srcpkgs/gum/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/gum/template diff --git a/srcpkgs/gum/template b/srcpkgs/gum/template new file mode 100644 index 000000000000..6d8b5ca73fc5 --- /dev/null +++ b/srcpkgs/gum/template @@ -0,0 +1,28 @@ +# Template file for 'gum' +pkgname=gum +version=0.4.0 +revision=1 +build_style=go +build_helper=qemu +go_import_path="github.com/charmbracelet/gum" +go_ldflags="-X main.Version=v${version}" +short_desc="Tool for glamorous shell scripts" +maintainer="akhil <akhil.j@outlook.in>" +license="MIT" +homepage="https://github.com/charmbracelet/gum" +changelog="https://github.com/charmbracelet/gum/releases" +distfiles="https://${go_import_path}/archive/v${version}.tar.gz" +checksum=504a92791dacaa06e025a7fea32f96f9d4f67b26a38b1a07eb2703e5519cea1b + +post_install() { + vlicense LICENSE + + _cli=$(find $GOPATH/bin -name $pkgname) + for shell in bash fish zsh; do + vtargetrun $_cli completion $shell > ${pkgname}.${shell} + vcompletion ${pkgname}.${shell} $shell + done + + vtargetrun $_cli man > ${pkgname}.1 + vman ${pkgname}.1 +}
[-- Attachment #1: Type: text/plain, Size: 227 bytes --] New comment by akhiljalagam on void-packages repository https://github.com/void-linux/void-packages/pull/38427#issuecomment-1247670575 Comment: > commit message needs to be updated, and the commit body can be removed done
[-- Attachment #1: Type: text/plain, Size: 305 bytes --] New comment by github-actions[bot] on void-packages repository https://github.com/void-linux/void-packages/pull/38427#issuecomment-1352458785 Comment: Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
[-- Attachment #1: Type: text/plain, Size: 1059 bytes --] There's a closed pull request on the void-packages repository New package: gum-0.4.0 https://github.com/void-linux/void-packages/pull/38427 Description: <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> <!-- #### Local build testing - I built this PR locally for my native architecture, (ARCH-LIBC) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64-musl - armv7l - armv6l-musl -->