summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonian2021-11-29 19:05:12 +0200
committerjonian2021-11-29 19:05:12 +0200
commitffdac24418a6c9c7fbb445c906494038ae07a106 (patch)
tree8b2decdb8887877e152ada18e834542da754664c
parent88e247cec6794b948cd5f31723e6a459a28e1a76 (diff)
downloadaur-ffdac24418a6c9c7fbb445c906494038ae07a106.tar.gz
add support for running through terminal
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b0c2e575c92..c22d65c6dd9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = anchor-wallet-bin
pkgdesc = EOSIO Desktop Wallet and Authenticator
pkgver = 1.3.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/greymass/anchor
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 5341eb7a7fa..6e77b14752b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Jonian Guveli <https://github.com/jonian/>
pkgname=anchor-wallet-bin
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="EOSIO Desktop Wallet and Authenticator"
arch=("x86_64")
url="https://github.com/greymass/anchor"
@@ -22,4 +22,7 @@ package() {
mv opt "$pkgdir"
sed -i "/Name=anchor-wallet/c\Name=Anchor Wallet" "$pkgdir/usr/share/applications/anchor-wallet.desktop"
+
+ mkdir -p "$pkgdir/usr/bin"
+ ln -sf "/opt/Anchor Wallet/anchor-wallet" "$pkgdir/usr/bin/anchor-wallet"
}