aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-02-21 16:25:27 +0000
committerrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-02-21 16:25:27 +0000
commitefefb222154d68efebd881e3e35cd18cfe77a59f (patch)
treefe6f160ddad590d39268b5ce24b9395233e679ff
parent902b2fe66da2e3f69d5245e78d9b697a87e7e800 (diff)
downloadsimplepkg-efefb222154d68efebd881e3e35cd18cfe77a59f.tar.gz
simplepkg-efefb222154d68efebd881e3e35cd18cfe77a59f.tar.bz2
mkslackbuild: atualizando modelo generic.mkslackbuild
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@191 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/conf/generic.mkSlackBuild.new5
1 files changed, 3 insertions, 2 deletions
diff --git a/trunk/conf/generic.mkSlackBuild.new b/trunk/conf/generic.mkSlackBuild.new
index a97c83a..f874433 100644
--- a/trunk/conf/generic.mkSlackBuild.new
+++ b/trunk/conf/generic.mkSlackBuild.new
@@ -25,7 +25,7 @@ fi
<set_variables> all
# Set variables
-CWD="`pwd`"
+CWD="$(pwd)"
SRC_NAME="[[SOURCE NAME]]"
PKG_NAME="[[PACKAGE NAME]]"
ARCH=${ARCH:=[[ARCH]]}
@@ -108,11 +108,12 @@ gpg --verify "$SRC_DIR/$SRC.sig" "$SRC_DIR/$SRC" || exit $ERROR_GPG
# Untar
cd "$SRC_DIR"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
+
+cd "$PKG_SRC"
</untar_source>
<path_source> off
# Patch source
-cd "$PKG_SRC"
patches="[[PATCH FILES]] $PACKAGE.diff $PACKAGE-$VERSION.diff
$PACKAGE-$VERSION-$ARCH.diff $PACKAGE-$ARCH.diff"
for patch in $patches; do