You are not logged in.
Pages: 1
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
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
Pages: 1