[arch-commits] Commit in codeblocks/repos (6 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Sun Jan 5 17:18:23 UTC 2014
Date: Sunday, January 5, 2014 @ 18:18:23
Author: bpiotrowski
Revision: 103399
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 103398, codeblocks/trunk/PKGBUILD)
codeblocks/repos/community-staging-i686/codeblocks.install
(from rev 103398, codeblocks/trunk/codeblocks.install)
codeblocks/repos/community-staging-x86_64/
codeblocks/repos/community-staging-x86_64/PKGBUILD
(from rev 103398, codeblocks/trunk/PKGBUILD)
codeblocks/repos/community-staging-x86_64/codeblocks.install
(from rev 103398, codeblocks/trunk/codeblocks.install)
---------------------------------------------+
community-staging-i686/PKGBUILD | 31 ++++++++++++++++++++++++++
community-staging-i686/codeblocks.install | 26 +++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 31 ++++++++++++++++++++++++++
community-staging-x86_64/codeblocks.install | 26 +++++++++++++++++++++
4 files changed, 114 insertions(+)
Copied: codeblocks/repos/community-staging-i686/PKGBUILD (from rev 103398, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-01-05 17:18:23 UTC (rev 103399)
@@ -0,0 +1,31 @@
+# $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=13.12
+pkgrel=2
+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' 'wxgtk2.8' 'libsm')
+makedepends=('boost' 'zip')
+install=codeblocks.install
+source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz)
+md5sums=('4b450f620d9f1875ecf6882ab3c11402')
+
+build() {
+ cd $pkgname-$pkgver
+ export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
+ ./configure --prefix=/usr --with-contrib-plugins=all
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: codeblocks/repos/community-staging-i686/codeblocks.install (from rev 103398, codeblocks/trunk/codeblocks.install)
===================================================================
--- community-staging-i686/codeblocks.install (rev 0)
+++ community-staging-i686/codeblocks.install 2014-01-05 17:18:23 UTC (rev 103399)
@@ -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 &>/dev/null
+ 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 &>/dev/null
+ update-desktop-database -q
+}
Copied: codeblocks/repos/community-staging-x86_64/PKGBUILD (from rev 103398, codeblocks/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-01-05 17:18:23 UTC (rev 103399)
@@ -0,0 +1,31 @@
+# $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=13.12
+pkgrel=2
+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' 'wxgtk2.8' 'libsm')
+makedepends=('boost' 'zip')
+install=codeblocks.install
+source=(http://download.berlios.de/$pkgname/${pkgname}_${pkgver}-1.tar.gz)
+md5sums=('4b450f620d9f1875ecf6882ab3c11402')
+
+build() {
+ cd $pkgname-$pkgver
+ export WX_CONFIG_PATH=/usr/bin/wx-config-2.8
+ ./configure --prefix=/usr --with-contrib-plugins=all
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: codeblocks/repos/community-staging-x86_64/codeblocks.install (from rev 103398, codeblocks/trunk/codeblocks.install)
===================================================================
--- community-staging-x86_64/codeblocks.install (rev 0)
+++ community-staging-x86_64/codeblocks.install 2014-01-05 17:18:23 UTC (rev 103399)
@@ -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 &>/dev/null
+ 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 &>/dev/null
+ update-desktop-database -q
+}
More information about the arch-commits
mailing list