aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-01-04 07:27:15 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:55 +0700
commitb5f81c983683248955484061edf917d05465b413 (patch)
tree0dfca930794311552f29d09526ec52c64196225b /libraries
parentb8bd1a728b048f80a040bfd70b2f64810ffff068 (diff)
libraries/liblangtag: Updated for version 0.6.3.
Signed-off-by: orbea <orbea@riseup.net>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/liblangtag/liblangtag.SlackBuild17
-rw-r--r--libraries/liblangtag/liblangtag.info8
-rw-r--r--libraries/liblangtag/slack-desc2
3 files changed, 16 insertions, 11 deletions
diff --git a/libraries/liblangtag/liblangtag.SlackBuild b/libraries/liblangtag/liblangtag.SlackBuild
index 203a213c34e0..1e09aee83e3a 100644
--- a/libraries/liblangtag/liblangtag.SlackBuild
+++ b/libraries/liblangtag/liblangtag.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for liblangtag
-# Copyright 2015, 2017 Hunter Sezen California, USA
+# Copyright 2015, 2017, 2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=liblangtag
-VERSION=${VERSION:-0.6.2}
+VERSION=${VERSION:-0.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -69,6 +69,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Don't create the __pycache__ directory.
+export PYTHONDONTWRITEBYTECODE=1
+
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -81,11 +86,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
+ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/liblangtag/liblangtag.info b/libraries/liblangtag/liblangtag.info
index 2acc7bcfbf86..904b63d3b757 100644
--- a/libraries/liblangtag/liblangtag.info
+++ b/libraries/liblangtag/liblangtag.info
@@ -1,8 +1,8 @@
PRGNAM="liblangtag"
-VERSION="0.6.2"
-HOMEPAGE="http://tagoh.bitbucket.org/liblangtag/"
-DOWNLOAD="https://bitbucket.org/tagoh/liblangtag/downloads/liblangtag-0.6.2.tar.bz2"
-MD5SUM="284f120247323a35122ab32b4b359c45"
+VERSION="0.6.3"
+HOMEPAGE="https://bitbucket.org/tagoh/liblangtag/wiki/Home"
+DOWNLOAD="https://bitbucket.org/tagoh/liblangtag/downloads/liblangtag-0.6.3.tar.bz2"
+MD5SUM="015274eb284b1dc82bf7af1d1774ec64"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/liblangtag/slack-desc b/libraries/liblangtag/slack-desc
index 0723a1d82790..462864e5db2e 100644
--- a/libraries/liblangtag/slack-desc
+++ b/libraries/liblangtag/slack-desc
@@ -11,7 +11,7 @@ liblangtag:
liblangtag: Liblangtag is an interface library to access/deal with tags for
liblangtag: identifying languages, which is described in RFC 5646.
liblangtag:
-liblangtag: Homepage: http://tagoh.bitbucket.org/liblangtag/
+liblangtag: Homepage: https://bitbucket.org/tagoh/liblangtag/wiki/Home
liblangtag:
liblangtag:
liblangtag: