summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorwtzb2019-02-05 19:38:49 +0100
committerwtzb2019-02-05 19:38:49 +0100
commit9ddaa2c7520163f55a8f1e6fa8f5ea0581dafa38 (patch)
treecfe70700122843f41edd10dbfe15049aad458a34 /PKGBUILD
parent96c9e03195b351428cd7bca14ebc984babf5591f (diff)
downloadaur-9ddaa2c7520163f55a8f1e6fa8f5ea0581dafa38.tar.gz
Bugfix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a7c7a293407..6e46a903f16 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,20 +3,17 @@
pkgname=mycrypto-bin
_pkgname=mycrypto
pkgver=1.5.6
-pkgrel=1
+pkgrel=2
pkgdesc='Open-source, client-side tool for generating Ether Wallets, handling ERC-20 tokens, and interacting with the blockchain more easily'
arch=('x86_64')
-depends=('electron')
provides=('mycrypto')
conflicts=('mycrypto')
url='https://github.com/MyCryptoHQ/MyCrypto'
license=('MIT')
source=("${url}/releases/download/${pkgver}/linux-x86-64_${pkgver}_MyCrypto.AppImage"
- 'LICENSE'
- 'mycrypto.sh')
+ 'LICENSE')
sha256sums=('b07ab5535da05c42d251c62225115459a0ab5e1e2e6cc3003a6efbb56e5f4214'
- 'e4d52665623eaeb7d6efa43c0c29d225cd009cd766dc15f1b464a19cab1ec5cb'
- 'eb800f7d523bbff35010f640d06cc35c7fd62ee522c9615cd45acb5413df01f0')
+ '1b0a4ebe6200441fe008bba2b60bb227b944cd77427b3f9c60f6f7e32120a65d')
prepare() {
# Extract AppImage
@@ -28,10 +25,12 @@ prepare() {
package() {
cd $_pkgname-$pkgver
- # Lib directory
- install -Dm644 app/resources/app.asar -t "$pkgdir"/usr/share/$_pkgname/
# Executable
- install -Dm755 ../mycrypto.sh "$pkgdir"/usr/bin/$_pkgname
+ mkdir -p "$pkgdir"/usr/share/$_pkgname
+ mkdir -p "$pkgdir"/usr/bin
+ mv ./app/* "$pkgdir"/usr/share/$_pkgname
+ chmod 755 "$pkgdir"/usr/share/$_pkgname
+ ln -s "$pkgdir"/usr/share/$_pkgname/$_pkgname "$pkgdir"/usr/bin/$_pkgname
# Desktop entry
sed -i s/AppRun/$_pkgname/ mycrypto.desktop
install -Dm644 mycrypto.desktop -t "$pkgdir"/usr/share/applications/
@@ -41,3 +40,4 @@ package() {
# License
install -Dm644 "$srcdir"/LICENSE -t "$pkgdir"/usr/share/licenses/$_pkgname/
}
+