diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2012-04-06 07:50:58 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-04-09 11:53:24 -0500 |
commit | dc5f6f416d91f5d8266f892a5dd1d7491db9542e (patch) | |
tree | 9e582cc58ec39c15fbefd26a54b55424e61c125f /libraries/libnfs/libnfs.SlackBuild | |
parent | 2e0523f2d554dc592e99959d9ce32bed48f6f06c (diff) | |
download | slackbuilds-dc5f6f416d91f5d8266f892a5dd1d7491db9542e.tar.gz |
libraries/libnfs: Updated for version 1.3.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libnfs/libnfs.SlackBuild')
-rw-r--r-- | libraries/libnfs/libnfs.SlackBuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libraries/libnfs/libnfs.SlackBuild b/libraries/libnfs/libnfs.SlackBuild index 1adcce5dde..50cd4078ff 100644 --- a/libraries/libnfs/libnfs.SlackBuild +++ b/libraries/libnfs/libnfs.SlackBuild @@ -5,7 +5,7 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=libnfs -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,14 +38,20 @@ fi set -e -[ -e ${PRGNAM}-${VERSION} ] && mv ${PRGNAM}-${VERSION} sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g345422a.tar.gz -DIRNAME=$(tar -tf $CWD/sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g345422a.tar.gz | head -1) +# In $CWD +if [ ! -r sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g47e5a2c.tar.gz ]; then + if [ -r $PRGNAM-$VERSION ]; then + mv $PRGNAM-$VERSION sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g47e5a2c.tar.gz + fi +fi + +DIRNAME=$(tar -tf $CWD/sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g47e5a2c.tar.gz | head -1) rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $DIRNAME -tar xvf $CWD/sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g345422a.tar.gz +tar xvf $CWD/sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g47e5a2c.tar.gz cd $DIRNAME chown -R root:root . find . \ |