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 | |
download | aur-9a466a491ab4759ef8525e3a295029faf89f62a9.tar.gz |
aleo-studio-in version 0.11.0 aur package
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..31df3883a8b9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = aleo-studio-bin + pkgdesc = The World's First IDE for Zero-Knowledge Proofs. + pkgver = 0.11.0 + pkgrel = 1 + url = https://aleo.studio/ + arch = x86_64 + license = custom + depends = gtk3 + depends = libnotify + depends = nss + depends = libxss + depends = libxtst + depends = xdg-utils + depends = at-spi2-core + depends = util-linux-libs + depends = libappindicator-gtk3 + depends = libsecret + source = https://aleo-studio-releases.sfo2.digitaloceanspaces.com/latest/aleo-studio_latest_amd64.deb + md5sums = 2759d003773cee87b70fa85385a50607 + +pkgname = aleo-studio-bin + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..81e21324d375 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/ +src/ +*.deb +*.pkg.tar.zst
\ No newline at end of file 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 |