diff options
author | root <root@rshg054.dnsready.net> | 2012-02-19 23:15:25 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-19 23:15:25 +0000 |
commit | 81ee1980feda43043eaebae2c596ae116a21f6e5 (patch) | |
tree | 5a48e15abb2f2d299a6c08bf44e1b136ae6a7fb8 /community/codeblocks | |
parent | 1098e9db0acc5bb5c45af5778492faf3b4c99dd6 (diff) |
Sun Feb 19 23:15:25 UTC 2012
Diffstat (limited to 'community/codeblocks')
-rw-r--r-- | community/codeblocks/PKGBUILD | 28 | ||||
-rw-r--r-- | community/codeblocks/codeblocks.install | 3 |
2 files changed, 17 insertions, 14 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 } diff --git a/community/codeblocks/codeblocks.install b/community/codeblocks/codeblocks.install index 01fc3ccb2..04d31f75b 100644 --- a/community/codeblocks/codeblocks.install +++ b/community/codeblocks/codeblocks.install @@ -3,6 +3,7 @@ pkgname=codeblocks post_install() { gtk-update-icon-cache -q -t -f usr/share/icons/hicolor update-mime-database usr/share/mime + update-desktop-database -q ln -s /usr/lib/libwxflatnotebook.so /usr/lib/libwxflatnotebook.so.0 ln -s /usr/lib/libwxchartctrl.so /usr/lib/libwxchartctrl.so.0 ln -s /usr/lib/libwxcustombutton.so /usr/lib/libwxcustombutton.so.0 @@ -21,5 +22,5 @@ post_upgrade() { pre_remove() { gtk-update-icon-cache -q -t -f usr/share/icons/hicolor update-mime-database usr/share/mime + update-desktop-database -q } - |