blob: 32e059f72343089590d3c1a95db651e01db31a61 (
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
32
33
34
35
36
37
|
# Maintainer: aiwe <dev at karbo dot io>
# Contributor: Stanislav Sizonov <eikoninaru at gmail dot com>
# Contributor: https://t.me/archlinux_ukraine
pkgname='karbowanecwallet-bin'
_pkgname='KarbowanecWallet'
pkgver=1.7.10
pkgrel=1
pkgdesc='Karbowanec Wallet - wallet for Karbo (Karbovanets) cryptocurrency'
arch=('x86_64')
url='https://karbo.io'
license=('custom')
depends=('qt5-networkauth')
source=("$pkgname-$pkgver.deb::https://github.com/seredat/karbowanecwallet/releases/download/v.1.7.10/Karbo-wallet-ubuntu-20.04-v.1.7.10.tar.gz")
sha256sums=('863BC7E6FF743629E33A23C6B7AFA70910B85F0C101788E1C2660AE786002B02')
prepare() {
cd "$srcdir"
ar p $_pkgname-$pkgver-64-bit.deb data.tar.gz | tar zx
sed -e 's|Exec=/usr/bin/karbowanecwallet/|Exec=karbowanecwallet|g' \
-e 's|/usr/share/pixmaps/karbowanec.png|karbowanec.png|g' \
-i usr/share/applications/karbowanecwallet.desktop
}
package() {
cd "$srcdir"
install -dm755 "$pkgdir/opt"
cp -r "$srcdir/opt/karbo/" "$pkgdir/opt/"
cp -r "$srcdir/usr/" "$pkgdir/usr/"
install -Dm644 usr/share/applications/karbowanecwallet.desktop -t "$pkgdir/usr/share/applications/"
install -Dm644 usr/share/doc/karbowanecwallet/copyright "$pkgdir/usr/share/doc/karbowanecwallet/copyright "
install -dm755 "$pkgdir/usr/bin/"
ln -s /usr/bin/KarbowanecWallet "$pkgdir/usr/bin/karbowanecwallet"
}
|