You are not logged in.

#1 2005-05-11 06:25:20

jaawood
Member
From: Chicago, IL
Registered: 2005-01-30
Posts: 31

gtkboard

I just created a package for gtkboard (http://gtkboard.sourceforge.net), and here it is.  I tried it, and everything works fine for me, but someone else may want to check it out before I try to commit it to the AUR.

# Package build for gtkboard

pkgname=gtkboard
pkgver=0.11pre0
pkgrel=1
pkgdesc="Gtkboard is a package of 31 games in a single program."
depends=('gtk')
source=(http://osdn.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
url="http://gtkboard.sourceforge.net"

build () {
        cd $startdir/src/$pkgname-$pkgver
        ./configure --prefix=/usr
        make || return 1
        make prefix=$startdir/pkg/usr install
}

It seems like most PKGBUILD files have md5sums, but I couldn't find one for this.  Should I generate it myself, or just leave it out?

Offline

#2 2005-05-11 17:17:07

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: gtkboard

Some comments:
To generate the md5sum:
makepkg -g >>PKGBUILD
you can then move it below the source array.

The source is messed up. Use
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
url="http://gtkboard.sourceforge.net"

If the Makefile supports it, replace:
make prefix=$startdir/pkg/usr install
by
make DESTDIR=$startdir/pkg/usr install

You can also run namcap on the PKGBUILD and package.

Offline

Board footer

Powered by FluxBB