summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/courier-unicode/README5
-rw-r--r--network/courier-unicode/courier-unicode.SlackBuild42
-rw-r--r--network/courier-unicode/courier-unicode.info10
3 files changed, 40 insertions, 17 deletions
diff --git a/network/courier-unicode/README b/network/courier-unicode/README
index 23211d4212..4f4b08b02a 100644
--- a/network/courier-unicode/README
+++ b/network/courier-unicode/README
@@ -1,2 +1,3 @@
-The Courier Unicode library provides Unicode-related algorithms for
-other Courier applications.
+The Courier Unicode Library provides Unicode-related algorithms for
+other Courier applications. The current release of the Courier Unicode
+Library is based on the Unicode 8.0.0 standard.
diff --git a/network/courier-unicode/courier-unicode.SlackBuild b/network/courier-unicode/courier-unicode.SlackBuild
index b15e81c9a7..4137328358 100644
--- a/network/courier-unicode/courier-unicode.SlackBuild
+++ b/network/courier-unicode/courier-unicode.SlackBuild
@@ -1,13 +1,31 @@
#!/bin/sh
-
+# ----------------------------------------------------------------------
# Slackware build script for courier unicode
-
-# Written by Derek Noonburg (derekn@foolabs.com)
-# 2015-01-06
-# Released into the public domain.
+#
+# Copyright 2015 - 2019 Derek Noonburg (derekn@foolabs.com)
+# Copyright 2019 Andrew Strong, Blue Mountains, Australia.
+#
+# 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
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,9 +64,15 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--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
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
-chown -R root:root $PKG/usr/doc
-find $PKG/usr/doc -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/courier-unicode/courier-unicode.info b/network/courier-unicode/courier-unicode.info
index 2368fce438..1840918e89 100644
--- a/network/courier-unicode/courier-unicode.info
+++ b/network/courier-unicode/courier-unicode.info
@@ -1,10 +1,10 @@
PRGNAM="courier-unicode"
-VERSION="1.1"
+VERSION="2.1"
HOMEPAGE="http://www.courier-mta.org/unicode/"
-DOWNLOAD="https://download.sourceforge.net/courier/courier-unicode-1.1.tar.bz2"
-MD5SUM="5fea17f4f0f50298a76f03bda6b24ada"
+DOWNLOAD="https://download.sourceforge.net/courier/courier-unicode-2.1.tar.bz2"
+MD5SUM="e2b4e8f16c51b2bc03ab16a5ff49832b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Derek Noonburg"
-EMAIL="derekn@foolabs.com"
+MAINTAINER="Andrew Strong"
+EMAIL="andrew.david.strong@gmail.com"