diff options
Diffstat (limited to 'community/codeblocks/PKGBUILD')
-rw-r--r-- | community/codeblocks/PKGBUILD | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/community/codeblocks/PKGBUILD b/community/codeblocks/PKGBUILD index a9ac9ff41..478c452c4 100644 --- a/community/codeblocks/PKGBUILD +++ b/community/codeblocks/PKGBUILD @@ -1,31 +1,33 @@ +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Robert Hollencamp <rhollencamp@gmail.com> # Contributor: Daniel J Griffiths <griffithsdj@inbox.com> -# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> pkgname=codeblocks pkgver=10.05 -pkgrel=1 +pkgrel=2 pkgdesc="An open source and cross-platform C/C++ IDE" arch=('i686' 'x86_64') url="http://www.codeblocks.org" license=('GPL3') -depends=('wxgtk' 'hicolor-icon-theme' 'bzip2' 'shared-mime-info') +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}-1debian-src.tar.bz2) -md5sums=('57e41b33a37f2677e432b47e89e939e3') +source=(http://download.berlios.de/$pkgname/$pkgname-${pkgver}-src.tar.bz2) +md5sums=('ab077d562e98b0586f2f86c14cb773ba') install=codeblocks.install build() { - cd $srcdir/src || return 1 - tar xf ${pkgname}_${pkgver}-1.tar.gz || return 1 - cd $pkgname-$pkgver - ./bootstrap || return 1 - ./configure --prefix=/usr --with-contrib-plugins=all || return 1 - make || return 1 + cd "$srcdir/$pkgname-$pkgver-release" + + LDFLAGS+=' -lX11' + ./bootstrap + ./configure --prefix=/usr --with-contrib-plugins=all + make } + package() { - cd $srcdir/src/$pkgname-$pkgver || return 1 - make DESTDIR="$pkgdir" install || return 1 + cd "$srcdir/$pkgname-$pkgver-release" + make DESTDIR="$pkgdir" install } |