As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
Initial preparationsIt is better to remove the old versions of both C::B and WXW before trying to build.To do that, run Bash and paste this to the command prompt:Codepkglist=""for pkg in codeblocks wxgtk3 wxgtk2 wxgtk-common; do pkglist+="$(pacman -Qi $pkg | grep -i "^ *name *:" | cut -d: -f2-) "; done[ -n "$(tr -d " " <<<"$pkglist")" ] && sudo pacman -Rsn $pkglistOption 1. Building without an AUR wrapperFirst, install the prerequisites:Codesudo pacman -S curl zlib gcc-libs expat gtk2 gtk3 gst-plugins-base-libs libsm libxxf86vm libnotify valgrind bzip2 hicolor-icon-theme gamin hunspell webkit2gtkThen, go to /tmp/ and build a development version of WXW and then an SVN revision of C::B:Codecd /tmp/root="https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h="for pkg in wxgtk-common-dev wxgtk2-dev wxgtk3-dev codeblocks-svn; do rm -rf $pkg; mkdir $pkg; cd $pkg; curl -o PKGBUILD "$root$pkg"; makepkg --noconfirm; sudo pacman -U *.pkg.tar.xz || exit 1; cd ..; doneDone.Option 2. Building with an AUR wrapperHere I assume that the AUR wrapper installed on the target Arch machine is Pacaur.If it`s not the case then please translate the given commands to your favourite wrapper`s format manually, it should be straightforward.Build a development version of WXW and then an SVN revision of C::B:Codepacaur -S wxgtk-common-dev wxgtk2-dev wxgtk3-dev codeblocks-svnDone.
pkglist=""for pkg in codeblocks wxgtk3 wxgtk2 wxgtk-common; do pkglist+="$(pacman -Qi $pkg | grep -i "^ *name *:" | cut -d: -f2-) "; done[ -n "$(tr -d " " <<<"$pkglist")" ] && sudo pacman -Rsn $pkglist
sudo pacman -S curl zlib gcc-libs expat gtk2 gtk3 gst-plugins-base-libs libsm libxxf86vm libnotify valgrind bzip2 hicolor-icon-theme gamin hunspell webkit2gtk
cd /tmp/root="https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h="for pkg in wxgtk-common-dev wxgtk2-dev wxgtk3-dev codeblocks-svn; do rm -rf $pkg; mkdir $pkg; cd $pkg; curl -o PKGBUILD "$root$pkg"; makepkg --noconfirm; sudo pacman -U *.pkg.tar.xz || exit 1; cd ..; done
pacaur -S wxgtk-common-dev wxgtk2-dev wxgtk3-dev codeblocks-svn