diff options
author | B. Watson <yalhcru@gmail.com> | 2021-10-04 03:24:00 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:30 +0700 |
commit | c9f43e869bb8f7021725c53178bc56fbbc962a13 (patch) | |
tree | 120a562ff52e7cc4068549bc7e1f62b587e85b29 /libraries/libunibreak | |
parent | de076e10fa206e04e85ffc0d1277319092fecd1c (diff) | |
download | slackbuilds-c9f43e869bb8f7021725c53178bc56fbbc962a13.tar.gz |
libraries/libunibreak: Updated for version 4.3, new maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libunibreak')
-rw-r--r-- | libraries/libunibreak/README | 12 | ||||
-rw-r--r-- | libraries/libunibreak/libunibreak.SlackBuild | 35 | ||||
-rw-r--r-- | libraries/libunibreak/libunibreak.info | 12 | ||||
-rw-r--r-- | libraries/libunibreak/slack-desc | 2 |
4 files changed, 30 insertions, 31 deletions
diff --git a/libraries/libunibreak/README b/libraries/libunibreak/README index 4002eb2f91..597ba98bcb 100644 --- a/libraries/libunibreak/README +++ b/libraries/libunibreak/README @@ -1,7 +1,9 @@ -Libunibreak is an implementation of the line breaking and word breaking -algorithms as described in Unicode Standard Annex 14 and Unicode Standard -Annex 29. +libunibreak (a line breaking library) + +Libunibreak is an implementation of the line breaking and word +breaking algorithms as described in Unicode Standard Annex 14 and +Unicode Standard Annex 29. It is designed to be used in a generic text renderer. FBReader is one -real-world example, and the Enlightenment Foundation Libraries are another. -You may also check some simple sample code, like showbreak and breaktext. +real-world example, and the Enlightenment Foundation Libraries are +another. diff --git a/libraries/libunibreak/libunibreak.SlackBuild b/libraries/libunibreak/libunibreak.SlackBuild index bd9760c456..64846a3cbe 100644 --- a/libraries/libunibreak/libunibreak.SlackBuild +++ b/libraries/libunibreak/libunibreak.SlackBuild @@ -1,13 +1,20 @@ #!/bin/bash # Slackware build script for libunibreak -# Maintained as of version 3.0 by slackmart <slackmart@gmail.com> -# Revision date: 2016/09/29 +# Maintained as of version 3.0 by slackmart <email removed> +# Now maintained by B. Watson <yalhcru@gmail.com> +# Original version had no license; now licensed under the WTFPL. See +# http://www.wtfpl.net/txt/copying/ for details. + +# 20211003 bkw: +# - take over maintenance +# - update for v4.3 +# - add HTML docs to package cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libunibreak -VERSION=${VERSION:-3.0} +VERSION=${VERSION:-4.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -20,9 +27,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -55,13 +59,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Use "-j1" to avoid some warnings +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -75,14 +74,12 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-static=no \ --build=$ARCH-slackware-linux -make -j1 LIBDIR=/usr/lib${LIBDIRSUFFIX} -make install LIBDIR=/usr/lib${LIBDIRSUFFIX} 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 +make +make install-strip DESTDIR=$PKG +rm -f $PKG/usr/lib*/*.la mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $TMP/$PRGNAM-$VERSION/README.md $TMP/$PRGNAM-$VERSION/LICENCE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS* LICEN* NEWS README* doc/html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libunibreak/libunibreak.info b/libraries/libunibreak/libunibreak.info index bfa38ab432..6db88aa750 100644 --- a/libraries/libunibreak/libunibreak.info +++ b/libraries/libunibreak/libunibreak.info @@ -1,10 +1,10 @@ PRGNAM="libunibreak" -VERSION="3.0" -HOMEPAGE="http://vimgadgets.sourceforge.net/libunibreak/" -DOWNLOAD="https://github.com/adah1972/libunibreak/releases/download/libunibreak_3_0/libunibreak-3.0.tar.gz" -MD5SUM="13e9a325c00b5943d6afb21f028635e6" +VERSION="4.3" +HOMEPAGE="https://github.com/adah1972/libunibreak/" +DOWNLOAD="https://github.com/adah1972/libunibreak/releases/download/libunibreak_4_3/libunibreak-4.3.tar.gz" +MD5SUM="f0c4488fad8dc92a11f4523d22c099d3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Martin Rodriguez" -EMAIL="slackmart@gmail.com" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/libraries/libunibreak/slack-desc b/libraries/libunibreak/slack-desc index c03d40dccd..dfb36c5f36 100644 --- a/libraries/libunibreak/slack-desc +++ b/libraries/libunibreak/slack-desc @@ -16,4 +16,4 @@ libunibreak: It is designed to be used in a generic text renderer. FBReader is libunibreak: one real-world example, and the Enlightenment Foundation Libraries libunibreak: are another. libunibreak: -libunibreak: http://vimgadgets.sourceforge.net/libunibreak/ +libunibreak: |