blob: 09190bcd1050fd785b19932ac2395bdc91a85b15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
# Contributor: DeedleFake <deedlefake at users dot noreply dot github dot com>
pkgname=coinomi-wallet-bin
pkgver=1.3.0
pkgrel=3
pkgdesc="Coinomi desktop wallet. Securely store, manage and exchange Bitcoin, Ethereum, and more than 500 other blockchain assets."
arch=(x86_64)
url="https://coinomi.com"
license=('unknown')
depends=(java-runtime libxss gtk3)
source=("https://storage.coinomi.com/binaries/desktop/coinomi-wallet-$pkgver-linux64.tar.gz"
"coinomi.png")
sha256sums=('b914fb58a209721eabdd267aac74d0331a425189497320f6e3ac28c58634da36'
'8b390909072edf85b195dbb73b5cceb52ae9f19093cce5ae313827590ae9d576')
#stupid server 502s if no user-agent
DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u")
build() {
chmod a+x "Coinomi/Coinomi"
sed -i 's/^Icon=.*$/Icon=coinomi/g' "Coinomi/coinomi-wallet.desktop"
}
package() {
mkdir -p "$pkgdir/opt"
cp -r "$srcdir/Coinomi" "$pkgdir/opt/Coinomi/"
mkdir -p "$pkgdir/usr/bin"
ln -s "/opt/Coinomi/Coinomi" "$pkgdir/usr/bin/Coinomi"
install -Dm644 "Coinomi/coinomi-wallet.desktop" "${pkgdir}/usr/share/applications/coinomi-wallet.desktop"
install -Dm644 "coinomi.png" "$pkgdir/usr/share/pixmaps/coinomi.png"
}
|