aboutsummaryrefslogtreecommitdiff
path: root/trunk/simplepkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/simplepkg.SlackBuild')
-rwxr-xr-xtrunk/simplepkg.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/trunk/simplepkg.SlackBuild b/trunk/simplepkg.SlackBuild
index 7ac1db4..a854be0 100755
--- a/trunk/simplepkg.SlackBuild
+++ b/trunk/simplepkg.SlackBuild
@@ -18,7 +18,7 @@
PACKAGE="simplepkg"
PACK_DIR="package-$PACKAGE"
BUILD=${BUILD:=1rha}
-VERSION="0.6pre26"
+VERSION="0.6pre27"
ARCH="noarch"
LIBEXEC="/usr/libexec/$PACKAGE"
BINDIR="/usr/bin"
@@ -29,6 +29,8 @@ LIB_LIST="common.sh"
DOC_DIR="/usr/doc"
DOC_LIST="COPYING TODO CHANGELOG README README.pt_BR README.simplaret README.simplaret.pt_BR"
+find . -name *~ | xargs rm # clean local backups
+
rm -rf $PACK_DIR
mkdir -p $PACK_DIR/install
cp install/slack-desc $PACK_DIR/install
@@ -75,7 +77,7 @@ fi
cd $PACK_DIR
chown -R root.root *
-makepkg -c y -l y ../simplepkg-$VERSION-$ARCH-$BUILD.tgz
+makepkg -c y -l y /tmp/simplepkg-$VERSION-$ARCH-$BUILD.tgz
cd ..
if [ "$CLEANUP" != "no" ]; then