summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonboh2023-08-21 20:43:06 +0200
committerjonboh2023-08-21 20:43:06 +0200
commit948b40378469fafbe59403aa5ab51a7f1e20a238 (patch)
tree43d4b6e544cb177be33a7f689a871417d32b3bb0
downloadaur-shai-bin.tar.gz
add shai-bin 0.1.1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD20
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..c563ed74cb6c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = shai-bin
+ pkgdesc = A shell AI assistant
+ pkgver = 0.1.1
+ pkgrel = 1
+ url = https://github.com/jonboh/shai
+ arch = x86_64
+ license = MIT
+ provides = shai
+ conflicts = shai
+ source = https://github.com/jonboh/shai/releases/download/v0.1.1/shai-0.1.1-x86_64-unknown-linux-gnu.tar.gz
+ sha256sums = d75b180577deb75c61594939d5ccc485fcaba82e2d8822c449f1becabefbb664
+
+pkgname = shai-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..aea67cbc5a3a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: jonboh
+#
+# This PKGBUILD was generated by `cargo aur`: https://crates.io/crates/cargo-aur
+
+pkgname=shai-bin
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="A shell AI assistant"
+url="https://github.com/jonboh/shai"
+license=("MIT")
+arch=("x86_64")
+provides=("shai")
+conflicts=("shai")
+source=("https://github.com/jonboh/shai/releases/download/v$pkgver/shai-$pkgver-x86_64-unknown-linux-gnu.tar.gz")
+sha256sums=("d75b180577deb75c61594939d5ccc485fcaba82e2d8822c449f1becabefbb664")
+
+package() {
+ install -Dm755 shai -t "$pkgdir/usr/bin"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}