diff options
author | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2006-12-22 01:10:24 +0000 |
---|---|---|
committer | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2006-12-22 01:10:24 +0000 |
commit | 8c7ca4ef0a1074114f5ed67ff2d9790c7d1dc517 (patch) | |
tree | 1e07ebaea8f153fa3caa25b098c0e81873f33853 /others/generic/generic.SlackBuild | |
parent | 9809eadb931aa8f7fb38bd2715840ffa864fb1ae (diff) | |
download | slackbuilds-8c7ca4ef0a1074114f5ed67ff2d9790c7d1dc517.tar.gz slackbuilds-8c7ca4ef0a1074114f5ed67ff2d9790c7d1dc517.tar.bz2 |
\
generic.SlackBuild v0.2.3
- O fonte e descompactado no $SRC_DIR e nao mais no $CWD
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@945 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'others/generic/generic.SlackBuild')
-rwxr-xr-x | others/generic/generic.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/others/generic/generic.SlackBuild b/others/generic/generic.SlackBuild index a1906785..79882a3b 100755 --- a/others/generic/generic.SlackBuild +++ b/others/generic/generic.SlackBuild @@ -1,7 +1,7 @@ ################################################ ## Generic template for SlackBuilds ## -## Version 0.2.2 - Luis +## Version 0.2.3 - Luis ## ################################################ #!/bin/bash @@ -86,8 +86,8 @@ 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 || exit $ERROR_TAR -cd $PKG_SRC +tar --no-same-owner --no-same-permissions -xvf $SRC_DIR/$SRC -C $SRC_DIR || exit $ERROR_TAR +cd $SRC_DIR/$PKG_SRC patch -Np[[NUMBER OF PREFIX SLASHES TO STRIP]] < $CWD/[[PATCH FILE]] CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -156,5 +156,5 @@ makepkg -l y -c n $REPOS/$PKG_NAME-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPK # Delete source and build directories, if requested if [ "$CLEANUP" == "yes" ]; then - rm -rf $CWD/$PKG_SRC $PKG + rm -rf $SRC_DIR/$PKG_SRC $PKG fi |