937 |
echo -e "${COLGREEN}Source package ${COLBLUE}${PNAME}-${PVER}-${PBUILD}.${SRCPKGSUFFIX} ${COLGREEN}successfully builded.${COLDEFAULT}" |
echo -e "${COLGREEN}Source package ${COLBLUE}${PNAME}-${PVER}-${PBUILD}.${SRCPKGSUFFIX} ${COLGREEN}successfully builded.${COLDEFAULT}" |
938 |
} |
} |
939 |
|
|
940 |
|
step_by_step() |
941 |
|
{ |
942 |
|
if [[ ${STEP_BY_STEP} = true ]] |
943 |
|
then |
944 |
|
echo "${COLRED}Step-by-step enabled! Paused after $1.${COLDEFAULT}" |
945 |
|
echo "Press [enter] to continue" |
946 |
|
read |
947 |
|
fi |
948 |
|
} |
949 |
|
|
950 |
|
|
951 |
# print out our version |
# print out our version |
952 |
showversion |
showversion |
1214 |
fi |
fi |
1215 |
|
|
1216 |
src_prepare || die "src_prepare failed" |
src_prepare || die "src_prepare failed" |
1217 |
|
step_by_step $_ |
1218 |
src_compile || die "src_compile failed" |
src_compile || die "src_compile failed" |
1219 |
|
step_by_step $_ |
1220 |
src_install || die "src_install failed" |
src_install || die "src_install failed" |
1221 |
|
step_by_step $_ |
1222 |
|
|
1223 |
|
|
1224 |
# compressing doc, info & man files |
# compressing doc, info & man files |