diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 20 |
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" +} |