[arch-commits] Commit in p2pool/repos (community-x86_64 community-x86_64/PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Sun May 22 21:34:14 UTC 2022


    Date: Sunday, May 22, 2022 @ 21:34:14
  Author: kpcyrd
Revision: 1210079

archrelease: copy trunk to community-x86_64

Added:
  p2pool/repos/community-x86_64/
  p2pool/repos/community-x86_64/PKGBUILD
    (from rev 1210078, p2pool/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: p2pool/repos/community-x86_64/PKGBUILD (from rev 1210078, p2pool/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2022-05-22 21:34:14 UTC (rev 1210079)
@@ -0,0 +1,35 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=p2pool
+pkgver=2.0
+_commit=8aebcdc580c424903221c95ebe2304a2e48b01b8
+pkgrel=1
+pkgdesc='Decentralized pool for Monero mining'
+arch=('x86_64')
+license=('GPL3')
+url="https://github.com/SChernykh/p2pool"
+depends=('gss' 'libuv' 'libsodium' 'zeromq')
+makedepends=('cmake' 'git')
+source=("${pkgname}"::"git+https://github.com/SChernykh/${pkgname}#commit=${_commit}")
+sha256sums=('SKIP')
+b2sums=('SKIP')
+
+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:



More information about the arch-commits mailing list