summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD12
1 files changed, 4 insertions, 8 deletions
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"
}