cd "${BUILD_DIRECTORY}" &&

mk_source_dir "${SOURCE_DIRECTORY}" &&

message "${MESSAGE_COLOR}unxz ${SOURCE_CACHE}/${SOURCE}${DEFAULT_COLOR}" &&
unxz -k "${SOURCE_CACHE}/${SOURCE}" &&
SOURCE="${SOURCE%.xz}" &&
unpack_file "" &&

message "${MESSAGE_COLOR}rm ${SOURCE_CACHE}/${SOURCE}${DEFAULT_COLOR}" &&
rm "${SOURCE_CACHE}/${SOURCE}" &&

SOURCE="${SOURCE}.xz" &&

cd "${SOURCE_DIRECTORY}" &&

rm man3/getspnam.3 man5/passwd.5 &&

# use our standard path
sed -e "0,/prefix/s;/local;;" -i share/mk/install/_.mk
