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

Antonio Rojas arojas at archlinux.org
Mon Dec 7 10:36:42 UTC 2015


    Date: Monday, December 7, 2015 @ 11:36:41
  Author: arojas
Revision: 149798

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

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

---------------------------------------------+
 community-staging-i686/PKGBUILD             |   36 ++++++++++++++++++++++++++
 community-staging-i686/codeblocks.install   |   21 +++++++++++++++
 community-staging-x86_64/PKGBUILD           |   36 ++++++++++++++++++++++++++
 community-staging-x86_64/codeblocks.install |   21 +++++++++++++++
 4 files changed, 114 insertions(+)

Copied: codeblocks/repos/community-staging-i686/PKGBUILD (from rev 149797, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-07 10:36:41 UTC (rev 149798)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: 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=13.12
+pkgrel=5
+pkgdesc='Cross-platform C/C++ IDE'
+arch=('x86_64' 'i686')
+url='http://www.codeblocks.org/'
+license=('GPL3')
+depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
+         'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm' 'webkitgtk2')
+makedepends=('boost' 'zip' 'webkitgtk2')
+install=codeblocks.install
+source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver-1.tar.gz")
+sha256sums=('772450046e8c8ba2ea0086acf433a46b83e6254fae64df9c8ca132a22f949610')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+# Fix build with boost 1.59
+  export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
+  export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
+  ./configure --prefix=/usr --with-contrib-plugins=all
+  make
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: codeblocks/repos/community-staging-i686/codeblocks.install (from rev 149797, codeblocks/trunk/codeblocks.install)
===================================================================
--- community-staging-i686/codeblocks.install	                        (rev 0)
+++ community-staging-i686/codeblocks.install	2015-12-07 10:36:41 UTC (rev 149798)
@@ -0,0 +1,21 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime &>/dev/null
+  update-desktop-database -q
+}
+
+pre_upgrade() {
+  pre_remove
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime &>/dev/null
+  update-desktop-database -q
+}
+
+# vim:set ts=2 sw=2 et:

Copied: codeblocks/repos/community-staging-x86_64/PKGBUILD (from rev 149797, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-07 10:36:41 UTC (rev 149798)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: 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=13.12
+pkgrel=5
+pkgdesc='Cross-platform C/C++ IDE'
+arch=('x86_64' 'i686')
+url='http://www.codeblocks.org/'
+license=('GPL3')
+depends=('boost-libs' 'desktop-file-utils' 'gamin' 'gtk-update-icon-cache'
+         'hicolor-icon-theme' 'hunspell' 'shared-mime-info' 'wxgtk2.8' 'libsm' 'webkitgtk2')
+makedepends=('boost' 'zip' 'webkitgtk2')
+install=codeblocks.install
+source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver-1.tar.gz")
+sha256sums=('772450046e8c8ba2ea0086acf433a46b83e6254fae64df9c8ca132a22f949610')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+# Fix build with boost 1.59
+  export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY"
+  export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
+  ./configure --prefix=/usr --with-contrib-plugins=all
+  make
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: codeblocks/repos/community-staging-x86_64/codeblocks.install (from rev 149797, codeblocks/trunk/codeblocks.install)
===================================================================
--- community-staging-x86_64/codeblocks.install	                        (rev 0)
+++ community-staging-x86_64/codeblocks.install	2015-12-07 10:36:41 UTC (rev 149798)
@@ -0,0 +1,21 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime &>/dev/null
+  update-desktop-database -q
+}
+
+pre_upgrade() {
+  pre_remove
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-mime-database usr/share/mime &>/dev/null
+  update-desktop-database -q
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list