blob: bb7c5631ec31db8fd51f0114e246f3d2fbe7ad70 (
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
|
# Maintainer: wowario <wowario[at]protonmail[dot]com>
pkgname=wownero-git
pkgver=0.10.0.3.2bdd70d65d
pkgrel=1
pkgdesc="a fairly launched privacy-centric meme coin with no premine and a finite supply"
license=('BSD')
arch=('x86_64')
url="https://wownero.org/"
depends=('boost-libs' 'openssl' 'readline' 'zeromq' 'pcsclite' 'protobuf' 'libpgm' 'unbound' 'libsodium')
makedepends=('git' 'cmake' 'boost')
source=(
"${pkgname}"::"git+https://git.wownero.com/wownero/wownero.git"
monero-boost1.76.patch::https://github.com/selsta/monero/commit/c28d2f7c.patch)
sha512sums=('SKIP'
'SKIP')
prepare() {
cd "${pkgname}"
git submodule update --init --recursive
patch -p1 < ../monero-boost1.76.patch # Fix build with boost 1.76
}
build() {
cd "${pkgname}"
mkdir -p build && cd build
cmake -D BUILD_TESTS=OFF -D USE_DEVICE_TREZOR=OFF -D CMAKE_BUILD_TYPE=release -D ARCH=default ../
make
}
package() {
cd "${pkgname}"
install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm755 "build/bin/wownero-wallet-cli" \
"build/bin/wownero-wallet-rpc" \
"build/bin/wownerod" \
-t "${pkgdir}/usr/bin"
}
|