[arch-commits] Commit in codeblocks/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sat Jul 6 19:36:32 UTC 2013


    Date: Saturday, July 6, 2013 @ 21:36:32
  Author: bpiotrowski
Revision: 93595

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  codeblocks/repos/community-staging-i686/
  codeblocks/repos/community-staging-i686/PKGBUILD
    (from rev 93594, codeblocks/trunk/PKGBUILD)
  codeblocks/repos/community-staging-i686/codeblocks.install
    (from rev 93594, codeblocks/trunk/codeblocks.install)
  codeblocks/repos/community-staging-x86_64/
  codeblocks/repos/community-staging-x86_64/PKGBUILD
    (from rev 93594, codeblocks/trunk/PKGBUILD)
  codeblocks/repos/community-staging-x86_64/codeblocks.install
    (from rev 93594, codeblocks/trunk/codeblocks.install)

---------------------------------------------+
 community-staging-i686/PKGBUILD             |   33 ++++++++++++++++++++++++++
 community-staging-i686/codeblocks.install   |   26 ++++++++++++++++++++
 community-staging-x86_64/PKGBUILD           |   33 ++++++++++++++++++++++++++
 community-staging-x86_64/codeblocks.install |   26 ++++++++++++++++++++
 4 files changed, 118 insertions(+)

Copied: codeblocks/repos/community-staging-i686/PKGBUILD (from rev 93594, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-07-06 19:36:32 UTC (rev 93595)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Robert Hollencamp <rhollencamp at gmail.com>
+# Contributor: Daniel J Griffiths <griffithsdj at inbox.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=codeblocks
+pkgver=12.11
+pkgrel=3
+pkgdesc='Open source and cross-platform C/C++ IDE'
+arch=('i686' 'x86_64')
+url='http://www.codeblocks.org'
+license=('GPL3')
+depends=('boost-libs' 'bzip2' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
+         'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk')
+makedepends=('boost' 'zip')
+options=('!libtool')
+install=codeblocks.install
+source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz)
+md5sums=('4fa8980a8c578b8b5589fceb9b0890d6')
+
+build() {
+  cd $pkgname-${pkgver}release*
+ 
+  LDFLAGS+=' -lX11'
+  ./configure --prefix=/usr --with-contrib-plugins=all
+  make 
+}
+
+package() {
+  cd $pkgname-${pkgver}release*
+  make DESTDIR="$pkgdir" install
+}

Copied: codeblocks/repos/community-staging-i686/codeblocks.install (from rev 93594, codeblocks/trunk/codeblocks.install)
===================================================================
--- community-staging-i686/codeblocks.install	                        (rev 0)
+++ community-staging-i686/codeblocks.install	2013-07-06 19:36:32 UTC (rev 93595)
@@ -0,0 +1,26 @@
+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
+  }
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+  rm /usr/lib/libwxflatnotebook.so.0 \
+   /usr/lib/libwxchartctrl.so.0 /usr/lib/libwxcustombutton.so.0    
+}
+
+pre_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime
+  update-desktop-database -q
+}

Copied: codeblocks/repos/community-staging-x86_64/PKGBUILD (from rev 93594, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-07-06 19:36:32 UTC (rev 93595)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+# Contributor: Robert Hollencamp <rhollencamp at gmail.com>
+# Contributor: Daniel J Griffiths <griffithsdj at inbox.com>
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=codeblocks
+pkgver=12.11
+pkgrel=3
+pkgdesc='Open source and cross-platform C/C++ IDE'
+arch=('i686' 'x86_64')
+url='http://www.codeblocks.org'
+license=('GPL3')
+depends=('boost-libs' 'bzip2' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
+         'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk')
+makedepends=('boost' 'zip')
+options=('!libtool')
+install=codeblocks.install
+source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz)
+md5sums=('4fa8980a8c578b8b5589fceb9b0890d6')
+
+build() {
+  cd $pkgname-${pkgver}release*
+ 
+  LDFLAGS+=' -lX11'
+  ./configure --prefix=/usr --with-contrib-plugins=all
+  make 
+}
+
+package() {
+  cd $pkgname-${pkgver}release*
+  make DESTDIR="$pkgdir" install
+}

Copied: codeblocks/repos/community-staging-x86_64/codeblocks.install (from rev 93594, codeblocks/trunk/codeblocks.install)
===================================================================
--- community-staging-x86_64/codeblocks.install	                        (rev 0)
+++ community-staging-x86_64/codeblocks.install	2013-07-06 19:36:32 UTC (rev 93595)
@@ -0,0 +1,26 @@
+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
+  }
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+  rm /usr/lib/libwxflatnotebook.so.0 \
+   /usr/lib/libwxchartctrl.so.0 /usr/lib/libwxcustombutton.so.0    
+}
+
+pre_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime
+  update-desktop-database -q
+}




More information about the arch-commits mailing list