Caffeine
Posted: 15. Sep 2010, 18:20
Here's my first attempt at a slkbuild for caffeine. Comments please?
Cheers,
ray
Code: Select all
#Contributor: ray <rayraven@gmail.com>
#Mandatory
pkgname=caffeine
pkgver=1.0.1
pkgrel=1ry
arch=noarch
source=("http://launchpad.net/$pkgname/1.0/$pkgver/+download/caffeine-1.0.1.tar.gz")
#Optional
docs=('readme', 'version', 'copying', 'changelog')
url="http://launchpad.net/caffeine"
options=('noautodotnew')
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"Caffeine (Display Inhibitor)"
"Caffeine is a system applet that allows the user to temporarily"
"inhibit both the screensaver and the sleep power saving mode,"
"simply by clicking on it. This could be useful for"
"example when watching long flash videos or playing certain"
"full screen games that dont inhibit the screensaver by themselves."
)
build() {
cd $startdir/src/caffeine-$pkgver
python setup.py install --root=$startdir/pkg || return 1
}
ray