diff options
Diffstat (limited to 'gis/geojson/geojson.SlackBuild')
-rw-r--r-- | gis/geojson/geojson.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gis/geojson/geojson.SlackBuild b/gis/geojson/geojson.SlackBuild index 774ff3e390..ec12a7077b 100644 --- a/gis/geojson/geojson.SlackBuild +++ b/gis/geojson/geojson.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=geojson -VERSION=${VERSION:-1.0.6} +SRCNAM=python-geojson +VERSION=${VERSION:-1.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |