summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Manna2021-04-24 19:44:17 -0700
committerKyle Manna2021-04-24 19:44:17 -0700
commitbe9825237f490558ff5a94b88247a6a8411bcf37 (patch)
tree12ed5a324441e137fc264ed4978ae7ff56e46c01
downloadaur-be9825237f490558ff5a94b88247a6a8411bcf37.tar.gz
release: Initial v2.0.3 release
* And so it begins.
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD34
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e9f3ce64d4e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = cncli
+ pkgdesc = Helium Wallet
+ pkgver = 2.0.3
+ pkgrel = 1
+ url = https://github.com/helium/helium-wallet-rs
+ arch = x86_64
+ license = Apache
+ makedepends = cargo
+ source = git+https://github.com/AndrewWestberg/cncli.git#tag=v2.0.3
+ sha256sums = SKIP
+
+pkgname = cncli
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e7a3d9bfe26
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.tar.gz
+*.tar.zst
+/pkg
+/src
+/cncli
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7e481b800ea
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Kyle Manna <kyle [at] kylemanna [dot] com>
+
+pkgname=cncli
+pkgdesc='Helium Wallet'
+license=('Apache')
+url='https://github.com/helium/helium-wallet-rs'
+pkgver=2.0.3
+pkgrel=1
+arch=('x86_64')
+makedepends=('cargo')
+
+# Can't use source release because it attempts to fetch git submodules for libsodium :-/
+# "https://github.com/AndrewWestberg/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz"
+#sha512sums=('54cf02963b570c631cd92444c3137b5d586e90784e7a231469d292785dc122386e1dd83944a35ec45c9bb6df3aec2a51686bf8a384906fa409bddb0a968a783f')
+source=(
+ "git+https://github.com/AndrewWestberg/cncli.git#tag=v${pkgver}"
+)
+sha256sums=('SKIP')
+
+# Notes: https://wiki.archlinux.org/index.php/Rust_package_guidelines
+build() {
+ cd ${pkgname}
+ cargo build --release --locked --target-dir=target
+}
+
+check() {
+ cd ${pkgname}
+ cargo test --release --locked --target-dir=target
+}
+
+package() {
+ cd ${pkgname}
+ install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
+}