summaryrefslogtreecommitdiffstats
path: root/source/xap/gnuplot/gnuplot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/gnuplot/gnuplot.SlackBuild')
-rwxr-xr-xsource/xap/gnuplot/gnuplot.SlackBuild12
1 files changed, 2 insertions, 10 deletions
diff --git a/source/xap/gnuplot/gnuplot.SlackBuild b/source/xap/gnuplot/gnuplot.SlackBuild
index 7c43cc749..20de4deda 100755
--- a/source/xap/gnuplot/gnuplot.SlackBuild
+++ b/source/xap/gnuplot/gnuplot.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2016, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2016, 2017, 2018, 2020, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -77,13 +77,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# Fix default source location; use the GDFONTPATH variable to modify at runtime.
-# Thanks to the arch-folks.
-sed -i 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' src/variable.c
-sed -i -e 's|/usr/X11R6/lib/X11/fonts/Type1|/usr/share/fonts/Type1|' \
- -e 's|$(X11ROOT)/X11R6/lib/X11/fonts/Type1|$(X11ROOT)/usr/share/fonts/Type1|' \
- src/variable.c
-
# To distribute gnuplot binaries, you can not use GNU readline, as
# gnuplot does not use a GPL compatible free license.
CFLAGS="$SLKCFLAGS" \
@@ -133,8 +126,7 @@ fi
mkdir -p $PKG/usr/doc/gnuplot-$VERSION
cp -a \
- BUGS CodeStyle Copyright INSTALL NEWS PATCHLEVEL PGPKEYS PORTING \
- README* RELEASE_NOTES TODO VERSION \
+ BUGS Copyright INSTALL NEWS PATCHLEVEL PGPKEYS README* RELEASE_NOTES \
$PKG/usr/doc/gnuplot-$VERSION
cp -a demo $PKG/usr/doc/gnuplot-$VERSION
rm -rf $PKG/usr/doc/gnuplot-$VERSION/demo/Make* $PKG/usr/doc/gnuplot-$VERSION/demo/html