You are not logged in.
heres an incomplete pkgbuild for code::blocks.
the trouble is it uses a non-standard build script, once it compiles, the files are all over the place, i have no idea where the files are, or where to put them!! (hence the return 1 in the pkgbuild)
any help packaging this would be good since im after a replacement for Anjuta (its code completion is basically non-existant, its auto-formatting and `indent' code is terrible.. bleugh)
here is the wiki for its installation, its not much help at all
http://codeblocks.sourceforge.net/wiki/ … distros%29
#contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
pkgname=codeblocks
pkgver=1.0beta7
pkgrel=1
pkgdesc="Code::Blocks is a free C/C++ IDE built specifically to meet the most demanding needs of its users. It has been designed, right from the start, to be extensible and configurable..."
url="http://www.codeblocks.org/"
license="GPL"
depends=('wxgtk')
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-1.0-beta7.tar.gz)
build()
{
cd $startdir/src/$pkgname-1.0-beta7/src/
make -f Makefile.unix prefix=$startdir/pkg
return 1
}
md5sums=('c5f5d3c1e9bb29d9d746a153e781015b')
Offline
This works fine:
#contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>
#contributor: Bart Leusink <bartleusink@gmail.com
pkgname=codeblocks-cvs
pkgver=20051003
pkgrel=2
pkgdesc="Code::Blocks is a free C/C++ IDE built specifically to meet the most demanding needs of its users. It has been designed, right from the start, to be extensible and configurable..."
url="http://www.codeblocks.org/"
depends=('wxgtk')
conflicts=(codeblocks)
provides=(codeblocks)
source=()
md5sums=()
build()
{
cvs -z5 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/codeblocks co -P codeblocks
cd $startdir/src/codeblocks/
./bootstrap
./configure --prefix=/usr
make
make DESTDIR=$startdir/pkg install
find $startdir/pkg -name '*.la' -exec rm {} ;
}
(cvs is the recommended way of installing codeblocks for linux)
Offline
If you're going to make a cvs PKGBUILD, you should follow these guidelines:
http://wiki.archlinux.org/index.php/Arc … guidelines
Offline
Okay, the PKGBUILD should be conform the guidelines now.
Offline