diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /pcr/cpuminer/PKGBUILD | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'pcr/cpuminer/PKGBUILD')
-rw-r--r-- | pcr/cpuminer/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/cpuminer/PKGBUILD b/pcr/cpuminer/PKGBUILD new file mode 100644 index 000000000..be6cd1678 --- /dev/null +++ b/pcr/cpuminer/PKGBUILD @@ -0,0 +1,32 @@ +## Maintainer : gee + +name=cpuminer +pkgname=$name +pkgver=2.3.2 +pkgrel=5 +pkgdesc="pooler's Litecoin cpuminer." +arch=('i686' 'x86_64') +url="https://github.com/pooler/cpuminer" +depends=('curl' 'jansson') +license=('GPL2') +source=("${pkgname}-${pkgver}.zip::https://github.com/pooler/cpuminer/zipball/v${pkgver}" + "libcurl.m4") + +build() { + cpuminer_srcdir=${srcdir}/pooler-cpuminer-* + cd ${cpuminer_srcdir} + autoreconf -fi -I .. + ./configure + make ${MAKEFLAGS} CXXFLAGS="-O3 -march=native" +} + + +package() { + cpuminer_srcdir=${srcdir}/pooler-cpuminer-* + mkdir -p $pkgdir/usr/bin + + # get compiled binaries + install -D -m755 ${cpuminer_srcdir}/minerd $pkgdir/usr/bin/ +} +md5sums=('ca3200d6574fb6463640e8891555cd12' + '5e22a13d29fa628c83c267cf9b4f3218') |