aboutsummaryrefslogtreecommitdiff
path: root/trunk/mkbuild
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-26 16:11:57 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-26 16:11:57 +0000
commite063ca0c27e120c24479b927b573f70ae7712528 (patch)
tree8f19399388b8f1423a2d308dc20fc76eba25fa4d /trunk/mkbuild
parentaa0893f4fcc3e706cabab4af6ac3c322447d092f (diff)
downloadsimplepkg-e063ca0c27e120c24479b927b573f70ae7712528.tar.gz
simplepkg-e063ca0c27e120c24479b927b573f70ae7712528.tar.bz2
minor changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@719 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/mkbuild')
-rw-r--r--trunk/mkbuild/kde4.mkSlackBuild10
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>