Date: Saturday, January 20, 2018 @ 10:48:55 Author: bgyorgy Revision: 284265
upgpkg: codeblocks 17.12-1 Update to new version, adopt the package Modified: codeblocks/trunk/PKGBUILD ----------+ PKGBUILD | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-01-20 10:33:09 UTC (rev 284264) +++ PKGBUILD 2018-01-20 10:48:55 UTC (rev 284265) @@ -1,5 +1,6 @@ # $Id$ -# Maintainer: Alexander F Rødseth <[email protected]> +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Alexander F Rødseth <[email protected]> # Contributor: Bartłomiej Piotrowski <[email protected]> # Contributor: Robert Hollencamp <[email protected]> # Contributor: Daniel J Griffiths <[email protected]> @@ -7,37 +8,28 @@ # Contributor: Roman Mikhayloff <[email protected]> pkgname=codeblocks -pkgver=16.01 -pkgrel=11 +pkgver=17.12 +pkgrel=1 pkgdesc='Cross-platform C/C++ IDE' arch=('x86_64') url='http://codeblocks.org/' license=('GPL3') -depends=('boost-libs' 'gamin' 'hunspell' 'wxgtk2') -makedepends=('boost' 'zip') -source=("https://sourceforge.net/projects/$pkgname/files/Sources/$pkgver/${pkgname}_$pkgver.tar.gz") -sha256sums=('30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03') +depends=('wxgtk3') +makedepends=('boost' 'gamin' 'hunspell' 'zip') +optdepends=('boost-libs: NassiShneiderman plugin' + 'gamin: FileManager plugin' + 'hunspell: SpellChecker plugin') +source=("https://downloads.sourceforge.net/codeblocks/${pkgname}_$pkgver.tar.xz") +sha256sums=('13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0') build() { - cd "$pkgname-$pkgver.release" - - # Fix build with boost 1.59 - export CPPFLAGS+=" -DBOOST_ERROR_CODE_HEADER_ONLY" - export WX_CONFIG_PATH=/usr/bin/wx-config - - # FS#49799 - export CPPFLAGS+=" -fno-delete-null-pointer-checks" - - CXXFLAGS+=' -std=c++11 -fpermissive' - ./bootstrap - ./configure --prefix=/usr --with-contrib-plugins=all + cd $pkgname-$pkgver + ./configure --prefix=/usr --with-contrib-plugins=all --with-wx-config=/usr/bin/wx-config-gtk3 sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } package() { - make -C "$pkgname-$pkgver.release" DESTDIR="$pkgdir" install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install } - -# getver: -u 2 codeblocks.org/downloads/source -# vim:ts=2 sw=2 et:
