Skip to content

Commit

Permalink
feat: working PKGBUILD for arch
Browse files Browse the repository at this point in the history
This works in official arch docker image
using makepkd

it assumes basedevel is installed

Signed-off-by: morrieinmaas <[email protected]>
  • Loading branch information
morrieinmaas committed Apr 8, 2022
1 parent 4817402 commit 6f2ffad
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
pkgname="aries-cli"
pkgver="1.0.0"
pkggrel="1"
pkgdesc="A CLI tool for Aries written in rust"
pkgver="0.1.0"
pkgrel="1"
pkgdesc="A CLI tool for Aries written in Rust"
arch=(x86_64)
sha512sums=("SKIP")
license=('MIT')
depends=('sudo' 'libxcb')
provides=('aries-cli')

package() {
echo "Fetching aries-cli binary\n"
curl -L /usr/local/share/aries-cli https://github.com/animo/aries-cli/releases/download/v${pkgver}/linux-x86_64-aries-cli
echo "Successfully added aries-cli to /usr/local/share/aries-cli\n"
echo "Fetching aries-cli binary"
sudo curl -L -o /usr/local/bin/aries-cli https://github.com/animo/aries-cli/releases/download/v${pkgver}/linux-x86_64-aries-cli
sudo chmod +x /usr/local/bin/aries-cli
echo "Successfully added aries-cli to /usr/local/share/aries-cli"
echo "Enjoy the tool"
}

0 comments on commit 6f2ffad

Please sign in to comment.