summaryrefslogtreecommitdiff
path: root/python/pycld2/pycld2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/pycld2/pycld2.SlackBuild')
-rw-r--r--python/pycld2/pycld2.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/python/pycld2/pycld2.SlackBuild b/python/pycld2/pycld2.SlackBuild
index 939eea0103..b000cc9b40 100644
--- a/python/pycld2/pycld2.SlackBuild
+++ b/python/pycld2/pycld2.SlackBuild
@@ -25,7 +25,9 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pycld2
-VERSION=${VERSION:-20140206}
+SRCNAM=chromium-compact-language-detector
+SRCREV=baaa737cb7fbd073df3ce3627b9d9e24e0f2753b
+VERSION=${VERSION:-20151111}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,9 +49,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$SRCREV
+tar xvf $CWD/$SRCNAM-$SRCREV.tar.gz || tar xvf $CWD/$SRCREV.tar.gz
+cd $SRCNAM-$SRCREV
# Fix location of header files
sed -i "s/^CLD2_PATH.*$/CLD2_PATH = \'\/usr\/include\/cld2\'/" setup*.py