updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / codelite-bin / PKGBUILD
blobe6c193ccf4b6644113479c07db85f0b7caf64ae0
2 pkgname=codelite-bin
3 _pkgname=codelite
4 pkgver=2.8.0.4537
5 pkgrel=1
6 pkgdesc="Cross platform IDE for the C/C++ programming languages"
7 arch=('i686' 'x86_64')
8 url="http://www.codelite.org/"
9 license=('GPL')
10 depends=('wxgtk>=2.8.4')
11 makedepends=('rpmextract' 'curl')
13 _sourceurl=http://downloads.sourceforge.net
14 _source_i686=($_sourceurl/$_pkgname/$_pkgname-$pkgver-1.suse11.3.i586.rpm)
15 _md5sums_i686=('d29c991557311ffbd512df0f8ed6ccca')
16 _source_x86_64=($_sourceurl/$_pkgname/$_pkgname-$pkgver-1.suse11.3.x86_64.rpm)
17 _md5sums_x86_64=('cf370b449e318fb3c6a4f231c91545aa')
19 _source=_source_$CARCH
20 _md5sums=_md5sums_$CARCH
21 source=${!_source}
22 md5sums=${!_md5sums}
24 build() {
25     cd $srcdir/
26     
27     mkdir extraction && cd extraction
28     rpmextract.sh ../*.rpm
29     cp -r $srcdir/extraction/usr $pkgdir