1 2 3 4 5 6 7 8 9 10 11 12 13
post_install() { set -e if [ "$CARCH" == "x86_64" ]; then libtool --finish /usr/lib else libtool --finish /usr/lib32 fi } post_remove() { set -e ldconfig }