summaryrefslogtreecommitdiff
path: root/community/codeblocks/PKGBUILD
blob: 08e586013becb9770e43344f0ae29a71bb6ba2bb (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
# $Id: PKGBUILD 103790 2014-01-11 20:08:22Z eric $
# 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=13.12
pkgrel=2
pkgdesc='Open source and cross-platform C/C++ IDE'
arch=('i686' 'x86_64')
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' 'wxgtk2.8' 'libsm')
makedepends=('boost' 'zip')
install=codeblocks.install
source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz)
md5sums=('4b450f620d9f1875ecf6882ab3c11402')

build() {
  cd $pkgname-$pkgver
  export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
  ./configure --prefix=/usr --with-contrib-plugins=all
  make 
}

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