From 6f2ffad15ce42014a30f752f1c234d754fcad71c Mon Sep 17 00:00:00 2001 From: morrieinmaas Date: Fri, 8 Apr 2022 15:11:44 +0200 Subject: [PATCH] feat: working PKGBUILD for arch This works in official arch docker image using makepkd it assumes basedevel is installed Signed-off-by: morrieinmaas --- PKGBUILD | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 0164106d..40ab97dd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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" }