diff options
author | Taylor Price | 2024-02-14 10:33:07 -0700 |
---|---|---|
committer | Taylor Price | 2024-02-14 10:33:07 -0700 |
commit | 196ddf2ede81c55842f6042e8604e1b95b47ef4b (patch) | |
tree | f94d16908ae8395ab11e3f1ff73a0b09d0a81d19 | |
download | aur-196ddf2ede81c55842f6042e8604e1b95b47ef4b.tar.gz |
chore: initial commit of gptscript-git project
Signed-off-by: Taylor Price <tayworm@gmail.com>
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..36d67d75794c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = gptscript-git + pkgdesc = Scripting AI for fun and profit (git build from latest commit to main) + pkgver = git + pkgrel = 1 + url = https://gptscript.ai/ + arch = x86_64 + license = Apache + makedepends = git + makedepends = go + source = gptscript::git+https://github.com/gptscript-ai/gptscript.git#branch=main + md5sums = SKIP + +pkgname = gptscript-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..668259ce3602 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: drpebcak <tayworm@gmail.com> +pkgname='gptscript-git' +pkgver=git +pkgrel=1 +pkgdesc="Scripting AI for fun and profit (git build from latest commit to main)" +arch=('x86_64') +url="https://gptscript.ai/" +license=('Apache') +makedepends=('git' 'go' 'npm' 'yarn') +source=('gptscript::git+https://github.com/gptscript-ai/gptscript.git#branch=main') +noextract=() +md5sums=('SKIP') + +build() { + cd "gptscript" + make build-ui + make build +} + +check() { + cd "gptscript" + ./bin/gptscript -v +} + +package() { + cd "gptscript" + install -Dm755 bin/gptscript "$pkgdir"/usr/bin/gptscript +} |