summaryrefslogtreecommitdiff
path: root/community/codeblocks/PKGBUILD
blob: c6c04a2fa752723ef6b0db9885efa6c33e7f7b2d (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
32
33
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Robert Hollencamp <rhollencamp@gmail.com>
# Contributor: Daniel J Griffiths <griffithsdj@inbox.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=codeblocks
pkgver=10.05
pkgrel=2
pkgdesc="An open source and cross-platform C/C++ IDE"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.codeblocks.org"
license=('GPL3')
depends=('wxgtk' 'hicolor-icon-theme' 'bzip2' 'shared-mime-info' 'desktop-file-utils' 'gtk-update-icon-cache')
makedepends=('zip')
options=('!libtool')
source=(http://download.berlios.de/$pkgname/$pkgname-${pkgver}-src.tar.bz2)
md5sums=('ab077d562e98b0586f2f86c14cb773ba')
install=codeblocks.install

build() {
  cd "$srcdir/$pkgname-$pkgver-release"
 
  LDFLAGS+=' -lX11'
  ./bootstrap
  ./configure --prefix=/usr --with-contrib-plugins=all
  make 
}

package() {
  cd "$srcdir/$pkgname-$pkgver-release"
  make DESTDIR="$pkgdir" install
}