diff options
Diffstat (limited to 'trunk/mkbuild/kde4.mkSlackBuild')
-rw-r--r-- | trunk/mkbuild/kde4.mkSlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/trunk/mkbuild/kde4.mkSlackBuild b/trunk/mkbuild/kde4.mkSlackBuild index 5211bda..0e34547 100644 --- a/trunk/mkbuild/kde4.mkSlackBuild +++ b/trunk/mkbuild/kde4.mkSlackBuild @@ -487,6 +487,14 @@ mkuser() { EOSCRIPT </postinstall_script> +<slack_required> off +# Copy slack-required +mkdir -p "$PKG/install" || exit $ERROR_MKDIR +if [ -f "$CWD/slack-required" ]; then + cp $CWD/slack-required $PKG/install +fi +</slack_required> + <build_package> off # Build the package cd "$PKG" @@ -495,7 +503,7 @@ makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERRO <clean_builds> off # Delete source and build directories if requested -if [ "$CLEANUP" == "yes" ]; then +if [ "$CLEANUP" == "yes" ] || [ "$1" = "--cleanup" ]; then rm -rf "$PKG_WORK" "$PKG" fi </clean_builds> |