summaryrefslogtreecommitdiff
path: root/community/codeblocks/PKGBUILD
blob: a9ac9ff41d2a462a16524aaf8cee9adfe7336973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}