blob: 2785d5fb765b4af680dc9a353bd6f64f0eb02e7d (
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
|
# Maintainer: mmoya <mmoya at mmoya dot org>
_pkgname=nym-wallet
pkgname="${_pkgname}-appimage"
pkgver=1.1.10
pkgrel=1
pkgdesc="The Nym desktop wallet enables you to use the Nym network and take advantage of its key capabilities"
arch=('x86_64')
url="https://github.com/nymtech/nym"
license=('Apache 2.0')
depends=('webkit2gtk')
options=(!strip)
_filename="${_pkgname}_${pkgver}_amd64.AppImage"
source_x86_64=("https://github.com/nymtech/nym/releases/download/nym-wallet-v${pkgver}/${_filename}")
sha256sums_x86_64=(14a05407de4225a1ccc526da49927eaae678f699611c92b06974c6a69a382af4)
package() {
chmod +x ${_filename}
./${_filename} --appimage-extract "nym-wallet.desktop" >/dev/null 2>&1
./${_filename} --appimage-extract "usr/bin/nym-wallet" >/dev/null 2>&1
./${_filename} --appimage-extract "usr/share/icons/hicolor/*/apps/nym-wallet.png" >/dev/null 2>&1
install -Dm644 "squashfs-root/nym-wallet.desktop" "${pkgdir}/usr/share/applications/nym-wallet.desktop"
install -Dm755 "squashfs-root/usr/bin/nym-wallet" "${pkgdir}/usr/bin/nym-wallet"
chmod 755 "${pkgdir}/usr/bin"
install -dm755 "${pkgdir}/usr/share/icons"
cp -dpr --no-preserve=ownership "squashfs-root/usr/share/icons" "${pkgdir}/usr/share"
find "${pkgdir}/usr/share/icons" -type d -exec chmod 755 {} \;
find "${pkgdir}/usr/share/icons" -type f -name "nym-wallet.png" -exec chmod 644 {} \;
}
|