diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/codeblocks/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/codeblocks/PKGBUILD')
-rw-r--r-- | community/codeblocks/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
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 <rhollencamp@gmail.com> +# Contributor: Daniel J Griffiths <griffithsdj@inbox.com> +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + +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 +} + |