Skip to content

Instantly share code, notes, and snippets.

@fkfk fkfk/PKGBUILD
Last active Feb 26, 2018

Embed
What would you like to do?
cpuminer-opt v3.8.3.3 PKGBUILD
pkgname=cpuminer-opt
pkgver=3.8.3.3
pkgrel=1
pkgdesc="Optimized multi algo CPU miner"
arch=('i686' 'x86_64')
url="https://github.com/JayDDee/cpuminer-opt"
depends=('curl' 'jansson')
license=('GPL')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/JayDDee/cpuminer-opt/archive/v${pkgver}.tar.gz")
md5sums=('d4b5852e5698ed73f827c2c3c83c27f6')
build() {
cd "$srcdir/$pkgname-$pkgver"
./build.sh
}
package() {
mkdir -p "$pkgdir/usr/bin"
install -D -m755 "$srcdir/$pkgname-$pkgver/cpuminer" "$pkgdir/usr/bin/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.