summaryrefslogtreecommitdiff
path: root/development/source-highlight/source-highlight.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/source-highlight/source-highlight.SlackBuild')
-rw-r--r--development/source-highlight/source-highlight.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/development/source-highlight/source-highlight.SlackBuild b/development/source-highlight/source-highlight.SlackBuild
index ee3f51d936..a8b57738a7 100644
--- a/development/source-highlight/source-highlight.SlackBuild
+++ b/development/source-highlight/source-highlight.SlackBuild
@@ -6,7 +6,7 @@
# Modified by the slackbuilds.org project
PRGNAM=source-highlight
-VERSION=${VERSION:-2.9}
+VERSION=${VERSION:-2.11.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,7 +45,10 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@@ -60,8 +63,8 @@ make install DESTDIR=$PKG
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-rm -f $PKG/usr/share/info/dir
-gzip -9 $PKG/usr/share/info/*.info*
+rm -f $PKG/usr/info/dir
+gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION