Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=6fd1abcadeac93337598b4cc4d31714bca2f3da6
commit 6fd1abcadeac93337598b4cc4d31714bca2f3da6 Author: James Buren <[email protected]> Date: Mon Jun 4 05:27:03 2012 -0500 sleepd-20111024-1-x86_64 * remove package diff --git a/source/apps-extra/sleepd/FrugalBuild b/source/apps-extra/sleepd/FrugalBuild deleted file mode 100644 index 6558eb8..0000000 --- a/source/apps-extra/sleepd/FrugalBuild +++ /dev/null @@ -1,34 +0,0 @@ -# Compiling Time: 0.01 SBU -# Maintainer: Devil505 <[email protected]> -# Contributor: Priyank Gosalia <[email protected]> - -pkgname=sleepd -pkgver=20111024 -pkgrel=1 -pkgdesc="A daemon to put a laptop to sleep if it is not being used or if the battery is low." -url="http://kitenet.net/~joey/code/sleepd.html" -depends=('apmd' 'hal' 'dbus') -groups=('apps-extra') -archs=('i686' 'x86_64') -backup=('etc/sleepd.conf') -up2date="Flasttar http://ftp.frugalware.org/pub/other/people/devil505/snapshots/$pkgname" -source=(http://ftp.frugalware.org/pub/other/people/devil505/snapshots/$pkgname/$pkgname-$pkgver.tar.bz2 \ - sleepd.conf rc.sleepd) -sha1sums=('8d83681801decb16ec240113233bf1fa8b42eb94' \ - '13f636770e35ab44a3d891431abc743b684057ab' \ - '417e5397a1daf5ee0b0b7bbf6ed1c3377c081257') - -build() -{ - Fcd - Fmkdir /{usr/{bin,sbin},etc} - Fsed '#include <apm.h>' '#include "apm.h">' sleepd.c - make CFLAGS="${CFLAGS} -Wall -DACPI_APM" PREFIX="/usr" || Fdie - Finstallrel 755 sleepd /usr/sbin/ - Finstallrel 4755 sleepctl /usr/bin - Ffile sleepd.conf /etc/ - Fmanrel sleepd.8 sleepctl.1 - Frcd2 -} - -# optimization OK diff --git a/source/apps-extra/sleepd/rc.sleepd b/source/apps-extra/sleepd/rc.sleepd deleted file mode 100644 index 87d3edf..0000000 --- a/source/apps-extra/sleepd/rc.sleepd +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -# (c) 2007 Priyank M.G. <[email protected]> -# rc.sleepd for Frugalware -# distributed under GPL License - -# chkconfig: 2345 85 15 -# description: sleepd is a daemon that puts a laptop to sleep if it is idle or the battery is low - -source /lib/initscripts/functions -source /etc/sleepd.conf -TEXTDOMAIN=sleepd -TEXTDOMAINDIR=/lib/initscripts/messages -actions=(restart start status stop) -daemon=$"sleepd" -pid="pidof sleepd 2> /dev/null" - -rc_start() -{ - start_msg - if [ -z "$(eval $pid)" ]; then - /usr/sbin/sleepd $SLEEPD_OPTS & - if [ $? -gt 0 ]; then - ok 999 - else - /usr/sbin/sleepd $SLEEPD_OPTS & - fi - ok $? - else - ok 999 - fi -} - -rc_stop() -{ - stop_msg - if [ ! -z "$(eval $pid)" ]; then - killall sleepd - ok $? - else - ok 999 - fi -} - -rc_exec $1 diff --git a/source/apps-extra/sleepd/sleepd.conf b/source/apps-extra/sleepd/sleepd.conf deleted file mode 100644 index 52e350a..0000000 --- a/source/apps-extra/sleepd/sleepd.conf +++ /dev/null @@ -1,5 +0,0 @@ -# Sleepd configuration file -# Read the sleepd man page for available options. - -# Make sure you un-comment the following line. -# SLEEPD_OPTS="" _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
