Package Details: uncrustify-git 0.62.r71.g321fc5a-1

Git Clone URL: https://aur.archlinux.org/uncrustify-git.git (read-only)
Package Base: uncrustify-git
Description: A source code beautifier
Upstream URL: http://uncrustify.sourceforge.net/
Licenses: GPL
Conflicts: uncrustify
Provides: uncrustify=0.62
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 1
Popularity: 0.116924
First Submitted: 2015-09-04 00:42
Last Updated: 2016-05-12 00:56

Required by (4)

Sources (1)

Latest Comments

Snaipe commented on 2017-04-15 13:23

Here's a patch to make things work again: http://ix.io/qJX

dbedrenko commented on 2017-02-06 11:26

But it installs the binary to /usr/local/bin/ instead of /usr/bin

dbedrenko commented on 2017-02-06 10:34

I get error:

==> Starting prepare()...
/tmp/yaourt-tmp-danb/aur-uncrustify-git/./PKGBUILD: line 30: ./autogen.sh: No such file or directory
/usr/bin/makepkg: line 729: logpipe: unbound variable

Here are the amended functions that worked for me:

prepare() {
set -u
cd "${_srcdir}"
mkdir -p build
cd build
cmake ..
set +u
}

build() {
set -u
cd "${_srcdir}/build"
make -s -j "$(nproc)"
set +u
}

package() {
set -u
cd "${_srcdir}/build"
make DESTDIR="${pkgdir}" install
set +u
}

Spharx commented on 2016-05-11 19:13

to make it compile add "./autogen.sh" before the "./configure" line inside prepare() in the PKGBUILD