Skip to content
Permalink
packages/p2pool
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
pkgname=p2pool
pkgver=3.1
_commit=a76d8049c052c2087b56b4cdad976a132d54a2a8
pkgrel=1
pkgdesc='Decentralized pool for Monero mining'
arch=('x86_64')
license=('GPL3')
url="https://github.com/SChernykh/p2pool"
depends=('curl' 'libuv' 'libsodium' 'zeromq')
makedepends=('cmake' 'git')
source=("${pkgname}"::"git+https://github.com/SChernykh/${pkgname}#commit=${_commit}")
b2sums=('SKIP')
options=(!lto)
prepare() {
cd ${pkgname}
git submodule init
git submodule update
mkdir -p build
}
build() {
cd ${pkgname}/build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j$(nproc)
}
package() {
cd ${pkgname}
install -Dm775 "build/p2pool" -t "${pkgdir}/usr/bin"
}
# vim: ts=2 sw=2 et: