summaryrefslogtreecommitdiff
path: root/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild')
-rw-r--r--graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
index e547f75c12..44835776a5 100644
--- a/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
+++ b/graphics/nvidia-cg-toolkit/nvidia-cg-toolkit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nvidia-cg-toolkit
-# Copyright 2009-2010 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2009-2012 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nvidia-cg-toolkit
-VERSION=3.0_July2010
+VERSION=3.1_April2012
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,9 +67,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mv $PKG/usr/share/man $PKG/usr/man
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-
mkdir -p $PKG/etc/profile.d/
cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh
#!/bin/csh
@@ -83,7 +80,7 @@ chmod 0755 $PKG/etc/profile.d/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/local/Cg/* $PKG/usr/doc/$PRGNAM-$VERSION/
-rmdir $PKG/usr/local/Cg $PKG/usr/local $PKG/usr/share
+rmdir $PKG/usr/local/Cg $PKG/usr/local
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install