You are not logged in.

#1 2009-02-06 21:40:54

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

vubat PKGBUILD

I just created my first PKGBUILD for vubat which is a tray icon / gtk front end for ibam. Any comments would be appreciated, this is a pretty straight for PKGBUILD. Trying to get the hang of it on a really easy case. Thanks

PKGBUILD

# Contributor: Derek 'tetonedge' Tucker <derek at tetonedge.net>

pkgname=vubat
pkgver=0.01
pkgrel=1
pkgdesc="system tray ibam frontend"
arch=('i686' 'x86_64')
url="http://ortling.com/vubat/index.html"
license=('GPL3')
depends=('ibam' 'python' 'pygtk' 'pygobject')
source=(http://ortling.com/vubat/$pkgname-$pkgver.tar.gz)
md5sums=('fafdd137ee589986e29e545f280f5a89')

build() {
  cd $srcdir/$pkgname-$pkgver
  python setup.py build || return 1
  python setup.py install --prefix=$pkgdir/usr
}

Last edited by tetonedge (2009-02-07 06:13:37)

Offline

#2 2009-02-06 21:47:59

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: vubat PKGBUILD

Only a stylistic remark: you could replace "$startdir/pkg" with "$pkgdir".


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2009-02-06 21:49:14

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

Re: vubat PKGBUILD

thanks

Offline

#4 2009-02-06 21:57:32

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: vubat PKGBUILD

np, but you should remove the "pkg/" part of the line so that it becomes

--prefix=$pkgdir/usr

(probably just a typo, I know wink )


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2009-02-07 05:07:53

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

Re: vubat PKGBUILD

added to AUR, and as a noob mistake I had the typo, all is correct now, thanks for the help

Offline

#6 2009-02-07 06:08:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,403
Website

Re: vubat PKGBUILD

The license should be "GPL3". Using "GPL" means it is GPL2 or later.

Offline

#7 2009-02-07 06:13:50

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

Re: vubat PKGBUILD

thanks, fixed

Offline

Board footer

Powered by FluxBB