diff options
author | David Spencer <baildon.research@googlemail.com> | 2017-06-19 15:51:40 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-06-19 15:51:40 +0100 |
commit | dd8a57c307b86feb515c2faaf584ce3c3cfe91d3 (patch) | |
tree | 6e407be6eb4cb15dfeacd6112ac2b9daff435d16 /network | |
parent | 090288be12d91ba5c51fda504e24cee679e12e1e (diff) | |
download | slackbuilds-dd8a57c307b86feb515c2faaf584ce3c3cfe91d3.tar.gz |
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.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/network/ip2location-c/ip2location-c.SlackBuild b/network/ip2location-c/ip2location-c.SlackBuild index 0609947eed..b163f08e8f 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 . \ |