diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2016-01-25 03:29:22 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-26 18:59:05 +0700 |
commit | 40c995ddf8248eb59e7785a81f7d0ce0e293b83d (patch) | |
tree | 76484460e7575c94283be2b94e8d5e05bf5dde7b /python/pycld2/pycld2.SlackBuild | |
parent | eb31bf21473f198309d9c5c09175aa8a705d5404 (diff) |
python/pycld2: Updated for version 20151111.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python/pycld2/pycld2.SlackBuild')
-rw-r--r-- | python/pycld2/pycld2.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/python/pycld2/pycld2.SlackBuild b/python/pycld2/pycld2.SlackBuild index 939eea0103c2d..b000cc9b40a38 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 |