summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-07-20 19:04:14 +0000
committerEric Hameleers <alien@slackware.com>2021-07-21 08:59:57 +0200
commit65eb5507e0fa58e2a5931dde7944b1c4fe6dde93 (patch)
tree21a09b0c151f9cd4cca96291e645708ce6551b18 /source
parentb8aa79e4558aa3f395c39b9e4088ba5b0b309556 (diff)
downloadcurrent-65eb5507e0fa58e2a5931dde7944b1c4fe6dde93.tar.gz
Tue Jul 20 19:04:14 UTC 202120210720190414
a/kernel-firmware-20210719_168452e-noarch-1.txz: Upgraded. d/python-setuptools-57.4.0-x86_64-1.txz: Upgraded. d/strace-5.13-x86_64-1.txz: Upgraded. l/freetype-2.11.0-x86_64-1.txz: Upgraded. l/libidn2-2.3.2-x86_64-1.txz: Upgraded. l/libuv-1.42.0-x86_64-1.txz: Upgraded. l/pipewire-0.3.32-x86_64-1.txz: Upgraded. xap/gparted-1.3.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source')
-rwxr-xr-xsource/l/freetype/freetype.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/l/freetype/freetype.SlackBuild b/source/l/freetype/freetype.SlackBuild
index c7ce9c3e..605c1e9c 100755
--- a/source/l/freetype/freetype.SlackBuild
+++ b/source/l/freetype/freetype.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2005-2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2005-2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=freetype
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -147,17 +147,17 @@ find $PKG/usr/man -type f -exec gzip -9 {} \+
mkdir -p $PKG/usr/doc/freetype-$VERSION
cp -a \
docs \
- README \
+ ChangeLog LICENSE* README* \
$PKG/usr/doc/freetype-$VERSION
# too much
-rm -rf $PKG/usr/doc/freetype-$VERSION/docs/reference
+rm -rf $PKG/usr/doc/freetype-$VERSION/docs/reference $PKG/usr/doc/freetype-2.11.0/docs/oldlogs
-# If there's a CHANGES file, installing at least part of the recent history
+# If there's a ChangeLog file, installing at least part of the recent history
# is useful, but don't let it get totally out of control:
-if [ -r docs/CHANGES ]; then
+if [ -r docs/ChangeLog ]; then
DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)/docs
- cat docs/CHANGES | head -n 1000 > $DOCSDIR/CHANGES
- touch -r CHANGES $DOCSDIR/CHANGES
+ cat docs/ChangeLog | head -n 1000 > $DOCSDIR/ChangeLog
+ touch -r ChangeLog $DOCSDIR/ChangeLog
fi
mkdir $PKG/install