Last active
February 26, 2018 09:41
-
-
Save fkfk/b96c2ab6f88ac112c685246e7c2029f5 to your computer and use it in GitHub Desktop.
cpuminer-opt v3.8.3.3 PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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