summaryrefslogtreecommitdiffstats
path: root/source/x/ttf-tlwg/ttf-tlwg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/ttf-tlwg/ttf-tlwg.SlackBuild')
-rwxr-xr-xsource/x/ttf-tlwg/ttf-tlwg.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/x/ttf-tlwg/ttf-tlwg.SlackBuild b/source/x/ttf-tlwg/ttf-tlwg.SlackBuild
index 962145d0b..5b77a7d3e 100755
--- a/source/x/ttf-tlwg/ttf-tlwg.SlackBuild
+++ b/source/x/ttf-tlwg/ttf-tlwg.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=ttf-tlwg
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
ARCH=noarch
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# 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
@@ -55,12 +55,15 @@ find . \
mkdir -p $PKG/usr/share/fonts/TTF/
cp -a *.ttf fonts.* $PKG/usr/share/fonts/TTF/
mkdir -p $PKG/etc/fonts/conf.{d,avail}
-cp -a etc/fonts/conf.avail/* $PKG/etc/fonts/conf.avail
+cp -a fontconfig/conf.avail/* $PKG/etc/fonts/conf.avail
( cd $PKG/etc/fonts/conf.d && \
ln -sf ../conf.avail/* .
)
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
+cp -a $CWD/COPYING $PKG/usr/doc/$PKGNAM-$VERSION
+chown root:root $PKG/usr/doc/$PKGNAM-$VERSION/COPYING
+chmod 644 $PKG/usr/doc/$PKGNAM-$VERSION/COPYING
cp -a \
AUTHORS COPYING* INSTALL LICENSE README* TODO \
$PKG/usr/doc/$PKGNAM-$VERSION