makedeb
A free Monero desktop wallet
Viewing /PKGBUILD
.
Click here to go back to the Git tree for featherwallet.
# Maintainer: Artem Vorotnikov <artem@vorotnikov.me>
pkgname=featherwallet
pkgver=2.4.9
pkgrel=1
pkgdesc='A free Monero desktop wallet'
license=('BSD')
arch=('amd64')
url="https://featherwallet.org"
depends=(libssl3 libunbound8 libboost-system1.74.0 libboost-filesystem1.74.0 libboost-thread1.74.0 libboost-date-time1.74.0 libboost-chrono1.74.0 libboost-regex1.74.0 libboost-serialization1.74.0 libboost-program-options1.74.0 libboost-locale1.74.0 libqt6core6 libqt6widgets6 libqt6gui6 libqt6network6 libqt6svg6 libqt6websockets6 libqt6multimedia6 libqt6svgwidgets6 libqrencode4 libzbarqt0 libgl1 libqt6svg6 libqt6websockets6 libzip4 libsodium23 libgcrypt20 libx11-xcb1 libprotobuf23 libhidapi-libusb0)
makedepends=(git cmake build-essential ccache libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-date-time-dev libboost-chrono-dev libboost-regex-dev libboost-serialization-dev libboost-program-options-dev libboost-locale-dev libssl-dev libunbound-dev libqrencode-dev libzbarqt-dev qt6-base-dev qt6-multimedia-dev libqt6svg6-dev libgl1-mesa-dev libqt6svg6-dev libqt6websockets6-dev libzip-dev libsodium-dev libgcrypt-dev libx11-xcb-dev libprotobuf-dev libhidapi-dev)
source=("${pkgname}"::"git+https://github.com/feather-wallet/feather.git#tag=${pkgver}")
b2sums=('SKIP')
prepare() {
cd "${srcdir}/${pkgname}"
git submodule update --init --recursive
rm -rf build/*
mkdir -p build
cd build
cmake ..
}
build() {
cd "${srcdir}/${pkgname}/build"
cmake --build .
}
package() {
install -Dm755 "${srcdir}/${pkgname}/build/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/images/appicons/256x256.png" "${pkgdir}/usr/share/pixmaps/feather.png"
}