Fix PKGBUILD

This commit is contained in:
tobtoht 2021-07-14 18:02:50 +02:00
parent b16bf440f6
commit f5e6c94f59
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C
2 changed files with 16 additions and 20 deletions

View file

@ -2,13 +2,14 @@
# Contributor: wowario <wowario[at]protonmail[dot]com> # Contributor: wowario <wowario[at]protonmail[dot]com>
pkgname='monero-feather-git' pkgname='monero-feather-git'
pkgver=0.5.0.d1bb4c143f pkgver=0.8.0.d3791cbd26
pkgrel=1 pkgrel=1
pkgdesc='a free Monero desktop wallet' pkgdesc='A free Monero desktop wallet'
license=('BSD') license=('BSD')
arch=('x86_64') arch=('x86_64')
url="https://featherwallet.org" url="https://featherwallet.org"
depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'zeromq' 'pcsclite' 'hidapi' 'protobuf' 'libusb' 'libudev.so' 'miniupnpc' 'libgcrypt' 'qrencode' 'libsodium' 'libpgm' 'expat' 'qt5-base' 'qt5-websockets' 'qt5-svg' 'tor' 'libzip') depends=('libzip' 'boost-libs' 'libunwind' 'openssl' 'zeromq' 'hidapi' 'protobuf' 'libusb' 'libudev.so' 'libgcrypt'
'qrencode' 'libsodium' 'expat' 'qt5-base' 'qt5-websockets' 'qt5-svg' 'tor' 'zbar')
makedepends=('git' 'cmake' 'boost') makedepends=('git' 'cmake' 'boost')
source=("${pkgname}"::"git+https://git.featherwallet.org/feather/feather") source=("${pkgname}"::"git+https://git.featherwallet.org/feather/feather")
@ -18,15 +19,12 @@ sha256sums=('SKIP')
build() { build() {
cd "${srcdir}/${pkgname}" cd "${srcdir}/${pkgname}"
git submodule update --init --recursive git submodule update --init --recursive
mkdir -p build make release
cd build
cmake ..
make
} }
package_monero-feather-git() { package_monero-feather-git() {
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm755 "${srcdir}/${pkgname}/build/bin/feather" "${pkgdir}/usr/bin/feather" install -Dm755 "${srcdir}/${pkgname}/build/release/bin/feather" "${pkgdir}/usr/bin/feather"
install -Dm644 "${srcdir}/${pkgname}/src/assets/feather.desktop" "${pkgdir}/usr/share/applications/feather.desktop" install -Dm644 "${srcdir}/${pkgname}/src/assets/feather.desktop" "${pkgdir}/usr/share/applications/feather.desktop"
install -Dm644 "${srcdir}/${pkgname}/src/assets/images/feather.png" "${pkgdir}/usr/share/pixmaps/feather.png" install -Dm644 "${srcdir}/${pkgname}/src/assets/images/feather.png" "${pkgdir}/usr/share/pixmaps/feather.png"
} }

View file

@ -1,14 +1,12 @@
[Desktop Entry] [Desktop Entry]
Comment=Lightweight Monero Wallet Type=Application
Exec=feather
GenericName[en_US]=Monero Wallet
GenericName=Monero Wallet
Icon=feather
Name[en_US]=Feather
Name=Feather Name=Feather
Categories=Finance;Network; GenericName=Monero Wallet
Comment=A free Monero desktop wallet
Icon=feather
Exec=feather
Terminal=false
MimeType=x-scheme-handler/monero;
Categories=Network;
StartupNotify=false StartupNotify=false
StartupWMClass=feather StartupWMClass=feather
Terminal=false
Type=Application
MimeType=x-scheme-handler/monero;