aboutsummaryrefslogtreecommitdiff
path: root/trunk/mkbuild/kde4.mkSlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-03-06 00:44:42 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-03-06 00:44:42 +0000
commitf0973107ef56fb8e9ca9f1bf9a8921bdc55fd35f (patch)
tree7c7181fdb2c34ddff45068ea2ad9d337c13c67f0 /trunk/mkbuild/kde4.mkSlackBuild
parentf85d43884e072c71178d08b8aeef35d2bd70d931 (diff)
downloadsimplepkg-f0973107ef56fb8e9ca9f1bf9a8921bdc55fd35f.tar.gz
simplepkg-f0973107ef56fb8e9ca9f1bf9a8921bdc55fd35f.tar.bz2
attempting to fix #40 and #84
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@794 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/mkbuild/kde4.mkSlackBuild')
-rw-r--r--trunk/mkbuild/kde4.mkSlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/mkbuild/kde4.mkSlackBuild b/trunk/mkbuild/kde4.mkSlackBuild
index 867dcd4..1203317 100644
--- a/trunk/mkbuild/kde4.mkSlackBuild
+++ b/trunk/mkbuild/kde4.mkSlackBuild
@@ -50,6 +50,7 @@ SRC_DIR=${SRC_DIR:=$CWD}/$PKG_NAME
TMP=${TMP:=/tmp}
PKG=${PKG:=$TMP/package-$PKG_NAME}
REPOS=${REPOS:=$TMP}
+SLACKBUILD_PATH=${SLACKBUILD_PATH:="[[SLACKBUILD PATH]]"}
PREFIX=${PREFIX:=[[PREFIX]]}
PKG_WORK="$TMP/$SRC_NAME"
CONF_OPTIONS=${CONF_OPTIONS:="[[OTHER CONFIGURE ARGS]]"}
@@ -508,7 +509,8 @@ fi
<build_package> off
# Build the package
cd "$PKG"
-makepkg -l y -c n "$REPOS/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
+mkdir -p $REPOS/$SLACKBUILD_PATH
+$MAKEPKG -l y -c n "$REPOS/$SLACKBUILD_PATH/$PKG_NAME-$PKG_VERSION-$ARCH-$BUILD.tgz" || exit $ERROR_MKPKG
</build_package>
<clean_builds> off