summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 906a2484f40039e1635740a810d365f79c696deb (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
# Maintainer: EndlessEden <eden@rose.place>
pkgname=srbminer-multi
pkgver=0.6.7
pkgrel=1
pkgdesc="CPU & AMD GPU Miner: Mine up to 4 different algorithms/coins at the same time!"
arch=('any')
url="https://github.com/doktor83/SRBMiner-Multi"
license=('Private')
depends=()
optdepends=('opencl-amd: For Mining on AMD GPUs')
source=($pkgname-$pkgver.tar.xz::'https://github.com/doktor83/SRBMiner-Multi/releases/download/0.6.7/SRBMiner-Multi-0-6-7-Linux.tar.xz')
md5sums=('f0dbe31b3cf58605fea8e8a1098ec3cb')

prepare() {
  cd "${srcdir}"
  mv "SRBMiner-Multi-0-6-7" "$pkgname-$pkgver"
}

package() {
  install -d "${pkgdir}"/opt/$pkgname
  install -d "${pkgdir}"/usr/bin/
  install -D "${srcdir}"/"$pkgname-$pkgver"/{*.sh,SRBMiner-MULTI} "${pkgdir}"/opt/$pkgname
  cp -r "${srcdir}"/"$pkgname-$pkgver"/{Cache,Examples,Help} "${pkgdir}"/opt/$pkgname
  ln -s /opt/$pkgname/SRBMiner-MULTI "${pkgdir}"/usr/bin/srbminer-multi
}