wowlet/PKGBUILD

36 lines
1 KiB
Bash
Raw Normal View History

2020-10-12 08:51:59 +00:00
# Maintainer: wowario <wowario[at]protonmail[dot]com>
# Contributor: wowario <wowario[at]protonmail[dot]com>
2020-11-25 19:19:13 +00:00
pkgname='monero-feather-git'
2020-11-30 19:22:53 +00:00
pkgver=0.1.0.925ef5683
pkgrel=1
2020-11-25 19:19:13 +00:00
pkgdesc='a free Monero desktop wallet'
2020-10-12 08:51:59 +00:00
license=('BSD')
arch=('x86_64')
url="https://featherwallet.org"
2020-11-30 19:22:53 +00:00
depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'pcsclite' 'hidapi' 'protobuf' 'miniupnpc' 'libgcrypt' 'qrencode' 'libsodium' 'libpgm' 'expat' 'qt5-base' 'qt5-websockets' 'tor')
2020-10-12 08:51:59 +00:00
makedepends=('git' 'cmake' 'boost')
source=("${pkgname}"::"git+https://git.wownero.com/feather/feather")
sha256sums=('SKIP')
2020-11-30 19:22:53 +00:00
pkgver() {
cd "${srcdir}/${pkgname}"
printf "%s.%s" "$(git describe --tags --abbrev=0)" "$(git rev-parse --short=9 HEAD)"
}
2020-10-12 08:51:59 +00:00
build() {
cd "${srcdir}/${pkgname}"
2020-11-25 19:19:13 +00:00
git submodule update --init --recursive
2020-11-30 19:22:53 +00:00
mkdir -p build
2020-11-25 19:19:13 +00:00
cd build
cmake ..
2020-11-30 19:22:53 +00:00
make
2020-10-12 08:51:59 +00:00
}
2020-11-25 19:19:13 +00:00
package_monero-feather-git() {
2020-10-12 08:51:59 +00:00
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm755 "${srcdir}/${pkgname}/build/bin/feather" "${pkgdir}/usr/bin/feather"
}