summaryrefslogtreecommitdiff
path: root/community/codeblocks/PKGBUILD
blob: 4cdd8fddfee75e36460be735d8ca31604c82df66 (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
# $Id: PKGBUILD 99714 2013-10-30 23:12:02Z allan $
# 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=12.11
pkgrel=4
pkgdesc='Open source and cross-platform C/C++ IDE'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.codeblocks.org'
license=('GPL3')
depends=('boost-libs' 'bzip2' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
         'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk')
makedepends=('boost' 'zip')
install=codeblocks.install
source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz)
md5sums=('4fa8980a8c578b8b5589fceb9b0890d6')

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

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