summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gallet2022-11-13 16:38:02 +0100
committerRomain Gallet2022-11-13 16:41:45 +0100
commit2217bd85d1db2646592a1b536cf9806cee87cff5 (patch)
treec65a64dbf79cc7eb948fab31c253e88e5e4cd3b9
parent8255de22f268a1c2d86ec596c9452f569873f70d (diff)
downloadaur-2217bd85d1db2646592a1b536cf9806cee87cff5.tar.gz
symlink fix
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
-rw-r--r--stacks-wallet.desktop9
3 files changed, 18 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b68364c39d4e..8f1932734ba3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = stacks-wallet.mainnet-bin
pkgdesc = Stacks Wallet is everything you need to manage your tokens and collectibles and will protect your tokens when you use apps.
pkgver = 4.6.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/hirosystems/stacks-wallet
install = stacks-wallet.mainnet-bin.install
arch = x86_64
@@ -12,6 +12,8 @@ pkgbase = stacks-wallet.mainnet-bin
depends = nss
depends = nodejs
source = https://github.com/hirosystems/stacks-wallet/releases/download/v4.6.1/stacks-wallet.mainnet.v4.6.1.deb
+ source = stacks-wallet.desktop
md5sums = 6380873c22a5735e0d89eef4735bc8fe
+ md5sums = a3b1f26d804c0af1b055a1c491c9bcb3
pkgname = stacks-wallet.mainnet-bin
diff --git a/PKGBUILD b/PKGBUILD
index 0f3f17b17731..29333b7e2f49 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _packager="Romain Gallet <rgallet@grumlimited.co.uk>"
_deb_pkgname=stacks-wallet.mainnet
pkgver=4.6.1
pkgname=stacks-wallet.mainnet-bin
-pkgrel=2
+pkgrel=3
pkgdesc='Stacks Wallet is everything you need to manage your tokens and collectibles and will protect your tokens when you use apps.'
arch=('x86_64')
url="https://github.com/hirosystems/stacks-wallet"
@@ -19,8 +19,8 @@ replaces=()
backup=()
options=()
install=stacks-wallet.mainnet-bin.install
-source=("$url/releases/download/v$pkgver/stacks-wallet.mainnet.v$pkgver.deb")
-md5sums=('6380873c22a5735e0d89eef4735bc8fe')
+source=("$url/releases/download/v$pkgver/stacks-wallet.mainnet.v$pkgver.deb" "file://stacks-wallet.desktop")
+md5sums=('6380873c22a5735e0d89eef4735bc8fe' 'a3b1f26d804c0af1b055a1c491c9bcb3')
noextract=()
build() {
@@ -33,6 +33,8 @@ package() {
cp -fr opt/ ${pkgdir}
mkdir -p ${pkgdir}/usr/bin/
+
+ cp stacks-wallet.desktop ${pkgdir}/usr/share/applications/
- ln -sf "/opt/Stacks Wallet/stacks-wallet" ${pkgdir}/usr/bin/stacks-wallet
+ ln -sf "/opt/Hiro Wallet/stacks-wallet" ${pkgdir}/usr/bin/stacks-wallet
}
diff --git a/stacks-wallet.desktop b/stacks-wallet.desktop
new file mode 100644
index 000000000000..609f840949a5
--- /dev/null
+++ b/stacks-wallet.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Hiro Wallet
+Exec="/opt/Hiro Wallet/stacks-wallet" -no-sandbox %U
+Terminal=false
+Type=Application
+Icon=stacks-wallet
+StartupWMClass=Hiro Wallet
+Comment=Hiro Wallet v4 — Participate in Stacking to earn bitcoin rewards
+Categories=Finance;