diff options
author | Luke Frisken | 2020-12-13 20:29:22 +0400 |
---|---|---|
committer | Luke Frisken | 2020-12-13 20:29:22 +0400 |
commit | 9a466a491ab4759ef8525e3a295029faf89f62a9 (patch) | |
tree | c8e729cc5d625c68d9b0bf0d3e6e7c92afd9b41f /PKGBUILD | |
download | aur-9a466a491ab4759ef8525e3a295029faf89f62a9.tar.gz |
aleo-studio-in version 0.11.0 aur package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..49f041b48119 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Luke Frisken <l.frisken@gmail.com> +pkgname=aleo-studio-bin +pkgver=0.11.0 +pkgrel=1 +license=('custom') +pkgdesc="The World's First IDE for Zero-Knowledge Proofs." +arch=('x86_64') +url=https://aleo.studio/ +depends=(gtk3 libnotify nss libxss libxtst xdg-utils at-spi2-core util-linux-libs libappindicator-gtk3 libsecret) +source=("https://aleo-studio-releases.sfo2.digitaloceanspaces.com/latest/aleo-studio_latest_amd64.deb") +md5sums=('2759d003773cee87b70fa85385a50607') + +# extract the exact package version from the control.tar.gz file +pkgver() { + pushd "${srcdir}" > /dev/null + mkdir -p control + tar -xf control.tar.gz -C control + grep -Po "Version: \K.*" control/control + popd > /dev/null +} + +package() { + tar -xf data.tar.xz -C "${pkgdir}" + chown root:root -R ../pkg/aleo-studio-bin/opt + chmod 755 -R ../pkg/aleo-studio-bin/opt + chown root:root -R ../pkg/aleo-studio-bin/usr + chmod 644 -R ../pkg/aleo-studio-bin/usr +}
\ No newline at end of file |