From dd8a57c307b86feb515c2faaf584ce3c3cfe91d3 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 19 Jun 2017 15:51:40 +0100 Subject: network/ip2location-c: Fixed build. Signed-off-by: David Spencer --- network/ip2location-c/ip2location-c.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'network/ip2location-c') 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 . \ -- cgit v1.2.3