--- aur-crtools-git.orig/PKGBUILD 2015-06-13 16:38:29.803405322 +0200 +++ aur-crtools-git/PKGBUILD 2015-06-13 16:46:01.807079561 +0200 @@ -33,14 +33,14 @@ build() { cd ${srcdir}/${_newname} unset CFLAGS LDFLAGS - make all -j $(cat /proc/cpuinfo | grep processor | wc -l) + cp Makefile.inc Makefile.inc.orig + cat Makefile.inc.orig | sed -e "s|/usr/local|/usr|" | sed -e "s|\$(PREFIX)/etc/logrotate.d/|/etc/logrotate.d/|" |sed -e "s|\$(PREFIX)/sbin|\$(PREFIX)/bin|" > Makefile.inc + WERROR=0 make all -j $(cat /proc/cpuinfo | grep processor | wc -l) } package() { cd ${srcdir}/${_newname} - cp Makefile.inc Makefile.inc.orig - cat Makefile.inc.orig | sed -e "s|/usr/local|/usr|" | sed -e "s|\$(PREFIX)/etc/logrotate.d/|/etc/logrotate.d/|" > Makefile.inc mkdir -p ${pkgdir}/etc/logrotate.d make install DESTDIR=${pkgdir} - ln -s criu ${pkgdir}/usr/sbin/crtools + ln -s criu ${pkgdir}/usr/bin/crtools }