From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/codeblocks/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 community/codeblocks/PKGBUILD (limited to 'community/codeblocks/PKGBUILD') diff --git a/community/codeblocks/PKGBUILD b/community/codeblocks/PKGBUILD new file mode 100644 index 000000000..a9ac9ff41 --- /dev/null +++ b/community/codeblocks/PKGBUILD @@ -0,0 +1,31 @@ +# Contributor: Robert Hollencamp +# Contributor: Daniel J Griffiths +# Maintainer: Stefan Husmann + +pkgname=codeblocks +pkgver=10.05 +pkgrel=1 +pkgdesc="An open source and cross-platform C/C++ IDE" +arch=('i686' 'x86_64') +url="http://www.codeblocks.org" +license=('GPL3') +depends=('wxgtk' 'hicolor-icon-theme' 'bzip2' 'shared-mime-info') +makedepends=('zip') +options=('!libtool') +source=(http://download.berlios.de/$pkgname/$pkgname-${pkgver}-1debian-src.tar.bz2) +md5sums=('57e41b33a37f2677e432b47e89e939e3') +install=codeblocks.install + +build() { + cd $srcdir/src || return 1 + tar xf ${pkgname}_${pkgver}-1.tar.gz || return 1 + cd $pkgname-$pkgver + ./bootstrap || return 1 + ./configure --prefix=/usr --with-contrib-plugins=all || return 1 + make || return 1 +} +package() { + cd $srcdir/src/$pkgname-$pkgver || return 1 + make DESTDIR="$pkgdir" install || return 1 +} + -- cgit v1.2.3-54-g00ecf