network/courier-unicode: Updated for version 2.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Strong 2019-08-24 07:31:18 +07:00 committed by Willy Sudiarto Raharjo
parent 7c88cde3a4
commit eb355a4893
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 40 additions and 17 deletions

View File

@ -1,2 +1,3 @@
The Courier Unicode library provides Unicode-related algorithms for The Courier Unicode Library provides Unicode-related algorithms for
other Courier applications. other Courier applications. The current release of the Courier Unicode
Library is based on the Unicode 8.0.0 standard.

View File

@ -1,13 +1,31 @@
#!/bin/sh #!/bin/sh
# ----------------------------------------------------------------------
# Slackware build script for courier unicode # Slackware build script for courier unicode
#
# Written by Derek Noonburg (derekn@foolabs.com) # Copyright 2015 - 2019 Derek Noonburg (derekn@foolabs.com)
# 2015-01-06 # Copyright 2019 Andrew Strong, Blue Mountains, Australia.
# Released into the public domain. #
# Permission to use, copy, modify, and distribute this software for
# any purpose with or without fee is hereby granted, provided that
# the above copyright notice and this permission notice appear in all
# copies.
#
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# ----------------------------------------------------------------------
PRGNAM=courier-unicode PRGNAM=courier-unicode
VERSION=${VERSION:-1.1} VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -46,9 +64,15 @@ cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R operator . 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 {} \;
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
@ -67,10 +91,8 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a INSTALL COPYING AUTHORS README* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION cp -a INSTALL COPYING AUTHORS README ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chown -R root:root $PKG/usr/doc
find $PKG/usr/doc -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc

View File

@ -1,10 +1,10 @@
PRGNAM="courier-unicode" PRGNAM="courier-unicode"
VERSION="1.1" VERSION="2.1"
HOMEPAGE="http://www.courier-mta.org/unicode/" HOMEPAGE="http://www.courier-mta.org/unicode/"
DOWNLOAD="https://download.sourceforge.net/courier/courier-unicode-1.1.tar.bz2" DOWNLOAD="https://download.sourceforge.net/courier/courier-unicode-2.1.tar.bz2"
MD5SUM="5fea17f4f0f50298a76f03bda6b24ada" MD5SUM="e2b4e8f16c51b2bc03ab16a5ff49832b"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="Derek Noonburg" MAINTAINER="Andrew Strong"
EMAIL="derekn@foolabs.com" EMAIL="andrew.david.strong@gmail.com"