summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Barri2021-06-05 17:46:05 +1000
committerDavid Barri2021-06-05 17:46:05 +1000
commit4ec0e2e04fc53214546f795cfcee71528e6bb983 (patch)
tree7878b0b19ac11846a3f1e3b8b5fe3bc7091d113c
parentdeca2bd1270efd21b1a8bae3b235581f27bc7704 (diff)
downloadaur-verthash-miner-bin.tar.gz
m
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 5 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fcd74642ed7..646981c6da1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = verthash-miner-bin
pkgdesc = GPU miner for the Verthash algorithm and Vertcoin
pkgver = 0.7.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/CryptoGraphics/VerthashMiner
arch = x86_64
license = GPL-3.0
diff --git a/PKGBUILD b/PKGBUILD
index 498020d2dbe..b4d872ffcf8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: David Barri <japgolly@gmail.com>
pkgname=verthash-miner-bin
pkgver=0.7.2
-pkgrel=1
+pkgrel=2
pkgdesc="GPU miner for the Verthash algorithm and Vertcoin"
arch=('x86_64')
url="https://github.com/CryptoGraphics/VerthashMiner"
@@ -13,15 +13,11 @@ conflicts=('verthash-miner')
package() {
set -eu
-
+ cd "$pkgdir/usr/bin"
cd VerthashMiner-$pkgver-CUDA11-linux
-
- mkdir -p "$pkgdir/opt"
cp -r . "$pkgdir/opt/verthash-miner"
-
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- mkdir -p "$pkgdir/usr/bin"
- cd "$pkgdir/usr/bin"
ln -s ../../opt/verthash-miner/VerthashMiner verthash-miner
+ mkdir -p "$pkgdir/opt"
+ mkdir -p "$pkgdir/usr/bin"
}