[arch-commits] Commit in codeblocks/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Thu Aug 17 21:10:00 UTC 2017


    Date: Thursday, August 17, 2017 @ 21:09:59
  Author: arodseth
Revision: 252312

https TODO, but now it only builds for i686, WIP

Modified:
  codeblocks/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-17 20:00:56 UTC (rev 252311)
+++ PKGBUILD	2017-08-17 21:09:59 UTC (rev 252312)
@@ -6,16 +6,18 @@
 # Contributor: Stefan Husmann <stefan-husmann at t-online.de>
 # Contributor: Roman Mikhayloff <rimf at inbox.ru>
 
+# WIP: Only builds for i686
+
 pkgname=codeblocks
 pkgver=16.01
-pkgrel=10
+pkgrel=11
 pkgdesc='Cross-platform C/C++ IDE'
 arch=('x86_64' 'i686')
-url='http://www.codeblocks.org/'
+url='http://codeblocks.org/'
 license=('GPL3')
 depends=('boost-libs' 'gamin' 'hunspell' 'wxgtk')
 makedepends=('boost' 'zip')
-source=("http://sourceforge.net/projects/codeblocks/files/Sources/$pkgver/codeblocks_$pkgver.tar.gz")
+source=("https://sourceforge.net/projects/$pkgname/files/Sources/$pkgver/${pkgname}_$pkgver.tar.gz")
 sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03')
 
 build() {
@@ -28,7 +30,7 @@
   # FS#49799
   export CPPFLAGS+=" -fno-delete-null-pointer-checks"
 
-  CXXFLAGS+=' -std=c++11'
+  CXXFLAGS+=' -std=c++11 -fpermissive -w'
   ./bootstrap
   ./configure --prefix=/usr --with-contrib-plugins=all
   sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -40,4 +42,4 @@
 }
 
 # getver: -u 2 codeblocks.org/downloads/source
-# vim:set ts=2 sw=2 et:
+# vim:ts=2 sw=2 et:



More information about the arch-commits mailing list