update PKGBUILD

This commit is contained in:
wowario 2020-11-25 22:19:13 +03:00
parent bce983a6a5
commit 20156a7440
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -1,16 +1,15 @@
# Maintainer: wowario <wowario[at]protonmail[dot]com> # Maintainer: wowario <wowario[at]protonmail[dot]com>
# Contributor: wowario <wowario[at]protonmail[dot]com> # Contributor: wowario <wowario[at]protonmail[dot]com>
pkgbase=('monero-feather-git') pkgbase='monero-feather-git'
pkgname=('monero-feather-git') pkgname='monero-feather-git'
pkgver=v0.1.0.0.cd1cd5cb75 pkgver='v0.1.0.0.ca5b1df7df'
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' 'miniupnpc' depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'zeromq' 'pcsclite' 'hidapi' 'protobuf' 'miniupnpc' 'libgcrypt' 'qrencode' 'ccache' 'libsodium' 'libpgm' 'expat' 'qt5-base' 'qt5-websockets' 'tor')
'libgcrypt' 'qrencode' 'ccache' 'libsodium' 'libpgm' 'expat' 'base-devel' 'qt5-base')
makedepends=('git' 'cmake' 'boost') makedepends=('git' 'cmake' 'boost')
provides=('monero-feather-git') provides=('monero-feather-git')
@ -18,17 +17,16 @@ source=("${pkgname}"::"git+https://git.wownero.com/feather/feather")
sha256sums=('SKIP') sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
build() { build() {
cd "${srcdir}/${pkgname}" cd "${srcdir}/${pkgname}"
mkdir build && cd build && cmake .. && make release-static -j2 git submodule update --init --recursive
mkdir build
cd build
cmake ..
make -j2
} }
package_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/bin/feather" "${pkgdir}/usr/bin/feather"
} }