diff options
author | Taylor Price | 2024-02-14 10:46:32 -0700 |
---|---|---|
committer | Taylor Price | 2024-02-14 10:46:32 -0700 |
commit | f58a4142c11422b857ed7c295da578772270af8a (patch) | |
tree | a17f9948502acc23d73625393f2ca6801b2c6165 /PKGBUILD | |
download | aur-f58a4142c11422b857ed7c295da578772270af8a.tar.gz |
chore: initial commit of gptscript project
Signed-off-by: Taylor Price <tayworm@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..04a15090dc15 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: drpebcak <tayworm@gmail.com> +pkgname='gptscript' +pkgver="v0.1.0" +pkgrel=1 +pkgdesc="Scripting AI for fun and profit" +arch=('x86_64') +url="https://gptscript.ai/" +license=('Apache') +makedepends=('git' 'go' 'npm' 'yarn') +source=("gptscript-$pkgver::git+https://github.com/gptscript-ai/gptscript#tag=$pkgver") +noextract=() +md5sums=('SKIP') +conflicts=('gptscript-git') + +build() { + cd "gptscript-$pkgver" + make build-ui + make build +} + +check() { + cd "gptscript-$pkgver" + ./bin/gptscript -v +} + +package() { + cd "gptscript-$pkgver" + install -Dm755 bin/gptscript "$pkgdir"/usr/bin/gptscript +} |