diff options
author | Arthur Fernandes | 2023-08-13 22:12:57 -0300 |
---|---|---|
committer | Arthur Fernandes | 2023-08-13 22:12:57 -0300 |
commit | 6b4152be68e70b41c19f32d5c855a8f35ad1e6ad (patch) | |
tree | a156fbe662d73f32bf233898bd74656654605f75 | |
download | aur-6b4152be68e70b41c19f32d5c855a8f35ad1e6ad.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..094d3d7b49b0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = turso-cli + pkgdesc = Command line interface to Turso. + pkgver = 0.80.0 + pkgrel = 1 + url = https://github.com/tursodatabase/turso-cli + arch = x86_64 + license = MIT + makedepends = go + source = turso-cli-0.80.0.tar.gz::https://github.com/tursodatabase/turso-cli/releases/tag/v0.80.0.tar.gz + sha256sums = 272703b4b39c8cdfe6d3e3f71cfeb86e7bd2c5e3240e9108d3ee9a6d6855a5d5 + +pkgname = turso-cli diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2c0a52d090f4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Mantainer: arthurbpf <arthurbpfernandes@gmail.com> + +pkgname=turso-cli +pkgver=0.80.0 +pkgrel=1 +pkgdesc="Command line interface to Turso." +arch=('x86_64') +url="https://github.com/tursodatabase/turso-cli" +license=('MIT') +makedepends=('go') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tursodatabase/turso-cli/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('272703b4b39c8cdfe6d3e3f71cfeb86e7bd2c5e3240e9108d3ee9a6d6855a5d5') + + +build() { + cd "$pkgname-$pkgver" + go install +} + +package() { + cd "${pkgname}-${pkgver}" + install -Dm0755 -t "${pkgdir}/usr/bin/" "target/release/${pkgname}" +} |