[aur-general] a little PKGBUILD help please?

Daenyth Blank daenyth+arch at gmail.com
Tue Aug 12 11:27:04 EDT 2008


> if [ "$CARCH" == "i686" ]; then
>  make -f make_whatever
> else
>  make -f make_else
> fi

My preferred method is below, so that it will work correctly for
ArchPPC or uArch.

case $CARCH in
    i686) make -f make_foo ;;
    x86_64) make -f make_bar ;;
    *) echo "$CARCH is not supported!" ;;
esac



More information about the aur-general mailing list