From e1e6b23e6671cdf446862bad3c710443634ce4b0 Mon Sep 17 00:00:00 2001 From: luis Date: Sun, 28 Jan 2007 17:34:29 +0000 Subject: Consertando detalhes no template generico (v0.3.1) git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@994 370017ae-e619-0410-ac65-c121f96126d4 --- others/generic/generic.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'others') diff --git a/others/generic/generic.SlackBuild b/others/generic/generic.SlackBuild index 17389148..582a9c6f 100755 --- a/others/generic/generic.SlackBuild +++ b/others/generic/generic.SlackBuild @@ -1,7 +1,7 @@ ################################################ ## Generic template for SlackBuilds ## -## Version 0.3 - Luis +## Version 0.3.1 - Luis ## ################################################ #!/bin/bash @@ -86,9 +86,10 @@ fi gpg --verify "$SRC_DIR/$SRC.sig" "$SRC_DIR/$SRC" || exit $ERROR_GPG # Untar, patch, configure, compile and install -tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" -C "$SRC_DIR" || exit $ERROR_TAR +cd "$SRC_DIR" +tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR cd "$PKG_SRC" -patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < $CWD/[[PATCH FILE]] +patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < "$CWD/[[PATCH FILE]]" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3