aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-06-19 15:51:40 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-06-19 15:51:40 +0100
commitdd8a57c307b86feb515c2faaf584ce3c3cfe91d3 (patch)
tree6e407be6eb4cb15dfeacd6112ac2b9daff435d16 /network
parent090288be12d91ba5c51fda504e24cee679e12e1e (diff)
network/ip2location-c: Fixed build.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/ip2location-c/ip2location-c.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/ip2location-c/ip2location-c.SlackBuild b/network/ip2location-c/ip2location-c.SlackBuild
index 0609947eedbf..b163f08e8fd7 100644
--- a/network/ip2location-c/ip2location-c.SlackBuild
+++ b/network/ip2location-c/ip2location-c.SlackBuild
@@ -63,7 +63,10 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+# Upstream has replaced the original ip2location-c-7.0.0.tar.gz.
+# The new one has an extra directory level ip2location-c-7.0.0 level :(
+# (remove --strip-components=1 if/when upstream fixes it)
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz --strip-components=1
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \