summaryrefslogtreecommitdiff
path: root/community/codeblocks/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/codeblocks/PKGBUILD')
-rw-r--r--community/codeblocks/PKGBUILD31
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
+}
+