blob: c8c84ea2935ac6221d99b92c2b2f57d1e53e7f7e (
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
38
39
40
41
42
43
44
45
46
|
# Maintainer: Frederik Holm Strøm <aur@frederikstroem.com>
# Feather website: https://featherwallet.org
# Feather GitHub: https://github.com/feather-wallet/feather
_pkgname=feather
pkgname="${_pkgname}wallet-appimage"
pkgver=2.7.0
pkgrel=1
pkgdesc="A free Monero desktop wallet"
arch=('x86_64')
url="https://featherwallet.org"
license=('BSD-3-Clause')
depends=('tor' 'fuse2')
provides=("$pkgname")
conflicts=("monero-${_pkgname}" "monero-${_pkgname}-git" "monero-${_pkgname}-bin" "${_pkgname}wallet-bin")
options=(!strip)
_appimage="${_pkgname}.AppImage"
validpgpkeys=('8185E158A33330C7FD61BC0D1F76E155CEFBA71C')
source=("${url}/files/releases/linux-appimage/${_pkgname}-${pkgver}.AppImage"{,.asc})
noextract=("$_appimage")
sha256sums=('SKIP'
'SKIP')
prepare() {
mv "${_pkgname}-${pkgver}.AppImage" "$_appimage"
chmod +x "$_appimage"
"./$_appimage" --appimage-extract
# Fixing the desktop file
sed -i -E "s:Exec=AppRun:Exec=/opt/${_pkgname}/${_appimage}:" "squashfs-root/${_pkgname}.desktop"
}
package() {
# Appimage and symlink
install -Dpm755 "${_appimage}" "${pkgdir}/opt/${_pkgname}/${_appimage}"
install -dm755 "${pkgdir}/usr/bin"
ln -s "/opt/${_pkgname}/${_appimage}" "${pkgdir}/usr/bin/${_pkgname}"
# Desktop file
install -Dm644 "${srcdir}/squashfs-root/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
# Icons
install -dm755 "${pkgdir}/usr/share/pixmaps/"
cp --no-preserve=mode,ownership "${srcdir}/squashfs-root/feather.png" "${pkgdir}/usr/share/pixmaps/feather.png"
}
|