summaryrefslogtreecommitdiff
path: root/community/codeblocks
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-19 20:37:04 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-19 20:37:04 -0300
commita379247a5f187c1608664530e9ff85663eff3201 (patch)
tree3a49e87e7419c4aca35d1f4f2e591d12c3821c78 /community/codeblocks
parent1bf114d00280c9cfb2075d30830fdf86adb30951 (diff)
parent81ee1980feda43043eaebae2c596ae116a21f6e5 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/cuetools/PKGBUILD community/ekg2/PKGBUILD community/libcss/PKGBUILD community/libwapcaplet/PKGBUILD community/lxrandr/PKGBUILD community/menu-cache/PKGBUILD community/mumble/PKGBUILD community/ngircd/PKGBUILD community/oidentd/PKGBUILD community/openbox/PKGBUILD community/preload/PKGBUILD community/xdg-user-dirs/PKGBUILD extra/gdome2/PKGBUILD extra/libdiscid/PKGBUILD extra/pymad/PKGBUILD extra/qhull/PKGBUILD extra/speech-dispatcher/PKGBUILD multilib/lib32-gmp/PKGBUILD testing/xorg-server/PKGBUILD
Diffstat (limited to 'community/codeblocks')
-rw-r--r--community/codeblocks/PKGBUILD28
-rw-r--r--community/codeblocks/codeblocks.install3
2 files changed, 17 insertions, 14 deletions
diff --git a/community/codeblocks/PKGBUILD b/community/codeblocks/PKGBUILD
index 46484ec4b..c6c04a2fa 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' 'mips64el')
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
}
-