You are not logged in.

#1 2009-08-29 03:29:39

LookTJ
Member
From: Clovis, California
Registered: 2009-08-20
Posts: 29
Website

Caffeine BZR

I can't seem to finish up this PKGBUILD properly

Any help would be appreciated

And feel free to add your name to the contributor comment.

# Contributor: Taylor Lookabaugh <jesus {dot} christ {dot} i {dot} love {at} gmail {dot} com>

pkgname=caffeine
_realname=caffeine
pkgver=0.3
pkgrel=1
pkgdesc="A easy way to control powersaving on your desktop"
arch=('i686' 'x86_64')
url="https://launchpad.net/caffeine"
license=('GPL3')
depends=('gtk2')
makedepends=('bzr' 'python-notify')
provides=()
conflicts=()
options=('!libtool' '!emptydirs')
source=()
md5sums=()

_bzrbranch=lp:caffeine/"$pkgver"
_bzrmod=0.3

build() {
  cd "$srcdir"

  msg "Connecting to the server...."

  bzr branch "$_bzrbranch"

  msg "BZR checkout done or server timeout"

}

# vim:set ts=2 sw=2 et:

It would be nice to have system wide control on this simple piece of program.

Thanks smile

Last edited by LookTJ (2009-08-29 03:34:59)

Offline

#2 2009-08-29 10:40:53

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Caffeine BZR

Please read http://wiki.archlinux.org/index.php/Pyt … Guidelines. Something like

# Contributor: Taylor Lookabaugh <jesus {dot} christ {dot} i {dot} love {at} gmail {dot} com>

pkgname=caffeine
_realname=caffeine
pkgver=0.3
pkgrel=1
pkgdesc="A easy way to control powersaving on your desktop"
arch=('i686' 'x86_64')
url="https://launchpad.net/caffeine"
license=('GPL3')
depends=('gtk2' 'python')
makedepends=('bzr' 'python-notify')
options=('!libtool' '!emptydirs')
source=()
md5sums=()

_bzrbranch=lp:caffeine/"$pkgver"
_bzrmod=0.3

build() {
  cd "$srcdir"

  msg "Connecting to the server...."

  bzr branch "$_bzrbranch"

  msg "BZR checkout done or server timeout"
  cd $srcdir/$pkgver
  python setup.py install --root=$pkgdir/ || return 1
}

might do it. Finetuning may be needed.

Offline

#3 2009-08-29 17:22:32

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Caffeine BZR

Hello LookTJ!

Yeah, Stefan has right, and maybe you're Maintainer in this case.

Offline

#4 2009-09-01 02:08:15

LookTJ
Member
From: Clovis, California
Registered: 2009-08-20
Posts: 29
Website

Re: Caffeine BZR

Wow I need to get my brain checked.

Thanks, my friends. It's now in the AUR smile

Offline

Board footer

Powered by FluxBB