[arch-commits] Commit in cgminer/trunk (PKGBUILD cgminer)
Felix Yan
fyan at nymeria.archlinux.org
Sat Mar 2 07:04:20 UTC 2013
Date: Saturday, March 2, 2013 @ 08:04:19
Author: fyan
Revision: 85506
upgpkg: cgminer 2.11.0-1
Modified:
cgminer/trunk/PKGBUILD
Deleted:
cgminer/trunk/cgminer
----------+
PKGBUILD | 7 ++-----
cgminer | 51 ---------------------------------------------------
2 files changed, 2 insertions(+), 56 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-02 06:05:56 UTC (rev 85505)
+++ PKGBUILD 2013-03-02 07:04:19 UTC (rev 85506)
@@ -5,7 +5,7 @@
# Contributor: David Manouchehri <david at davidmanouchehri.com>
pkgname=cgminer
-pkgver=2.10.5
+pkgver=2.11.0
_build=
pkgrel=1
pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer."
@@ -18,7 +18,6 @@
'opencl-catalyst: OpenCL implementation for AMD')
source=("http://ck.kolivas.org/apps/cgminer/$pkgname-$pkgver.tar.bz2"
"$pkgname.conf.d"
- "$pkgname"
"$pkgname.service")
backup=("etc/conf.d/$pkgname" "etc/$pkgname.conf")
@@ -44,14 +43,12 @@
make DESTDIR="$pkgdir" install
- install -Dm755 "$srcdir"/$pkgname "$pkgdir"/etc/rc.d/$pkgname
install -Dm644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service
install -Dm644 "$srcdir"/$pkgname.conf.d "$pkgdir"/etc/conf.d/$pkgname
sed 's#/usr/local/bin#/usr/bin#g' example.conf > $pkgname.conf
install -Dm644 $pkgname.conf "$pkgdir"/etc/$pkgname.conf
}
-md5sums=('80b00c77a3c38bcb457a47989dfa153c'
+md5sums=('e0f597a373203acc346d7a07a694d03e'
'fe4a243fabe24608f5c05e40f0f118f6'
- 'ee39698273671fee0e98d4af16014c36'
'bd76fc92fedce18c59ccea2aa79cc664')
Deleted: cgminer
===================================================================
--- cgminer 2013-03-02 06:05:56 UTC (rev 85505)
+++ cgminer 2013-03-02 07:04:19 UTC (rev 85506)
@@ -1,51 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-DAEMON=cgminer
-
-# stupid patch var
-export HOME=/root
-
-[ -r /etc/conf.d/$DAEMON ] && . /etc/conf.d/$DAEMON
-
-if [ -r $CGMINER_CONF ]; then
- ARGS="--config $CGMINER_CONF $CGMINER_ARGS"
-else
- ARGS="--url $CGMINER_PROTOCOL://$CGMINER_IP:$CGMINER_PORT --user $CGMINER_USER --pass $CGMINER_PASS $CGMINER_ARGS"
-fi
-
-PID=$(get_pid $DAEMON)
-
-case "$1" in
- start)
- stat_busy "Starting $DAEMON"
- [ -z "$PID" ] && $DAEMON $ARGS &>/dev/null &
- if [ $? = 0 ]; then
- add_daemon $DAEMON
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
- stop)
- stat_busy "Stopping $DAEMON"
- [ -n "$PID" ] && kill $PID &>/dev/null
- if [ $? = 0 ]; then
- rm_daemon $DAEMON
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
More information about the arch-commits
mailing list