aboutsummaryrefslogtreecommitdiff
path: root/gis/rasterio/rasterio.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2014-09-02 23:23:09 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-05 23:22:32 +0700
commit9da611d3d482c10f75cc08f3822aad30db00b3c1 (patch)
treef4fc9ce4b5110e6fb0a64e4e765fed2e26afc1db /gis/rasterio/rasterio.SlackBuild
parent04f65b9937474f6edfae1d551146f518a534de4a (diff)
gis/rasterio: Updated for version 0.12.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/rasterio/rasterio.SlackBuild')
-rw-r--r--gis/rasterio/rasterio.SlackBuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/gis/rasterio/rasterio.SlackBuild b/gis/rasterio/rasterio.SlackBuild
index 25b2be759e77e..65a54565fae20 100644
--- a/gis/rasterio/rasterio.SlackBuild
+++ b/gis/rasterio/rasterio.SlackBuild
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rasterio
-VERSION=${VERSION:-0.6}
+VERSION=${VERSION:-0.12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,11 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-if [ -e $CWD/$VERSION.tar.gz ]; then
- tar xvf $CWD/$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \