mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
876 B
Bash
27 lines
876 B
Bash
|
# Contributor: Robert Hollencamp <rhollencamp@gmail.com>
|
||
|
# Contributor: Daniel J Griffiths <griffithsdj@inbox.com>
|
||
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
||
|
|
||
|
pkgname=codeblocks
|
||
|
pkgver=8.02
|
||
|
pkgrel=8
|
||
|
pkgdesc="An open source and cross-platform C/C++ IDE"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.codeblocks.org"
|
||
|
license=('GPL3')
|
||
|
depends=('wxgtk' 'shared-mime-info' 'bzip2')
|
||
|
makedepends=('zip')
|
||
|
options=('!libtool')
|
||
|
source=(prefix.diff http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2)
|
||
|
md5sums=('ec2c78061ad8f59299c46abd5348fa75' 'ac15b4b3de50d7650c2f7a8dbcb30f88')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/$pkgname-$pkgver || return 1
|
||
|
patch -p1 < $srcdir/prefix.diff || return 1
|
||
|
./configure --prefix=/usr --with-contrib-plugins=all || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="$pkgdir" install || return 1
|
||
|
rm $pkgdir/usr/share/$pkgname/plugins/*.la
|
||
|
}
|
||
|
|