network/ip2location-c: Fixed build.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2017-06-19 15:51:40 +01:00 committed by David Spencer
parent 090288be12
commit dd8a57c307
1 changed files with 4 additions and 1 deletions

View File

@ -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 . \