Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: aichat-0.23.0
@ 2024-11-17 23:35 henryprecheur
  0 siblings, 0 replies; only message in thread
From: henryprecheur @ 2024-11-17 23:35 UTC (permalink / raw)
  To: ml

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

There is a new pull request by henryprecheur against master on the void-packages repository

https://github.com/henryprecheur/void-packages aichat/0.23.0
https://github.com/void-linux/void-packages/pull/53112

New package: aichat-0.23.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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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, (x86_64, glibs)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl



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

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

From e7a5d4c1f2af954acacca17113d2b323b884c9f8 Mon Sep 17 00:00:00 2001
From: Henry Precheur <henry@precheur.org>
Date: Sun, 17 Nov 2024 12:27:05 -0800
Subject: [PATCH] New package: aichat-0.23.0

---
 srcpkgs/aichat/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/aichat/template

diff --git a/srcpkgs/aichat/template b/srcpkgs/aichat/template
new file mode 100644
index 00000000000000..2f8b7bf86e3c08
--- /dev/null
+++ b/srcpkgs/aichat/template
@@ -0,0 +1,26 @@
+# Template file for 'aichat'
+pkgname=aichat
+version=0.23.0
+revision=1
+build_style=cargo
+build_helper=qemu
+hostmakedepends="pkg-config"
+makedepends="oniguruma-devel"
+short_desc="All-in-one LLM Shell Assistant, Chat-REPL, RAG, AI Tools & Agents"
+maintainer="Henry Precheur <henry@precheur.org>"
+license="Apache-2.0 OR MIT"
+homepage="https://github.com/sigoden/aichat"
+distfiles="https://github.com/sigoden/aichat/archive/refs/tags/v${version}.tar.gz"
+checksum=c96341fe4c2223da2e069f16561166e5f699085597c17cdb128e86c0947ac7f6
+
+post_install() {
+	vlicense LICENSE-MIT
+	vlicense LICENSE-APACHE
+
+	vmkdir usr/share/examples/${pkgname}
+	vcopy config.example.yaml usr/share/examples/${pkgname}/config.yaml
+
+	for _shell in bash fish zsh; do
+		vcompletion "scripts/completions/aichat.$_shell" "$_shell" aichat
+	done
+}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-17 23:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-17 23:35 [PR PATCH] New package: aichat-0.23.0 henryprecheur

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).