aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-19 00:24:17 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 02:27:21 +0700
commita046993f702ea54cf8604e846adfca98d618bacf (patch)
treeea9333b00521ebb9e33cccf4ca34a9fd7f5c1296
parentbad15962241aa62f7099088400181ac74a87b8de (diff)
Multiple: Fix manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--development/glade/glade.SlackBuild3
-rw-r--r--games/fceux/fceux.SlackBuild7
-rw-r--r--network/aircrack-ng/aircrack-ng.SlackBuild8
-rw-r--r--network/spice-gtk/spice-gtk.SlackBuild3
-rw-r--r--office/mdp/mdp.SlackBuild5
-rw-r--r--system/cronie/cronie.SlackBuild6
-rw-r--r--system/ifuse/ifuse.SlackBuild3
-rw-r--r--system/zarfy/zarfy.SlackBuild4
8 files changed, 28 insertions, 11 deletions
diff --git a/development/glade/glade.SlackBuild b/development/glade/glade.SlackBuild
index 06272f07b88d..1741b2a9cbbe 100644
--- a/development/glade/glade.SlackBuild
+++ b/development/glade/glade.SlackBuild
@@ -87,6 +87,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING* INSTALL NEWS README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild
index 15db8e17ff10..6412ac1b53ff 100644
--- a/games/fceux/fceux.SlackBuild
+++ b/games/fceux/fceux.SlackBuild
@@ -82,13 +82,12 @@ scons install -i --prefix=$PKG/usr
#scons install creates usr/share/pixmaps as a regular file, delete that.
rm -f $PKG/usr/share/pixmaps
-#install the man page
-mkdir -p $PKG/usr/man/man6
-gzip -c documentation/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
-
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a documentation/* COPYING *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/aircrack-ng/aircrack-ng.SlackBuild b/network/aircrack-ng/aircrack-ng.SlackBuild
index ef69eb85d3a2..992e0f96628b 100644
--- a/network/aircrack-ng/aircrack-ng.SlackBuild
+++ b/network/aircrack-ng/aircrack-ng.SlackBuild
@@ -56,10 +56,10 @@ make prefix=/usr ${OPT} install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/share/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+mv $PKG/usr/share/man $PKG/usr/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+rmdir $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/network/spice-gtk/spice-gtk.SlackBuild b/network/spice-gtk/spice-gtk.SlackBuild
index 437992b5e51b..fec6a2f1b642 100644
--- a/network/spice-gtk/spice-gtk.SlackBuild
+++ b/network/spice-gtk/spice-gtk.SlackBuild
@@ -106,6 +106,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/mdp/mdp.SlackBuild b/office/mdp/mdp.SlackBuild
index a47d4925b46d..5ccc7f46c195 100644
--- a/office/mdp/mdp.SlackBuild
+++ b/office/mdp/mdp.SlackBuild
@@ -83,6 +83,11 @@ make install \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mv $PKG/usr/share/man $PKG/usr/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+rmdir $PKG/usr/share
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp AUTHORS COPYING CREDITS mdp.sublime-project README.md sample.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/cronie/cronie.SlackBuild b/system/cronie/cronie.SlackBuild
index ef6cbd9fa72d..0b04abbd5e07 100644
--- a/system/cronie/cronie.SlackBuild
+++ b/system/cronie/cronie.SlackBuild
@@ -91,9 +91,6 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-
mkdir -p $PKG/etc/cron.d # The absence of this directory would be logged
# These will allow non-privileged users to run crontab
@@ -111,6 +108,9 @@ chmod 0700 $PKG/var/spool/cron/
cat $CWD/crontab.root > $PKG/var/spool/cron/root.new
chmod 0600 $PKG/var/spool/cron/root.new
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL README \
diff --git a/system/ifuse/ifuse.SlackBuild b/system/ifuse/ifuse.SlackBuild
index 406714baaed3..a5c9c415cc42 100644
--- a/system/ifuse/ifuse.SlackBuild
+++ b/system/ifuse/ifuse.SlackBuild
@@ -90,6 +90,9 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING* README AUTHORS \
diff --git a/system/zarfy/zarfy.SlackBuild b/system/zarfy/zarfy.SlackBuild
index d1b8880555f7..07210e1e60ae 100644
--- a/system/zarfy/zarfy.SlackBuild
+++ b/system/zarfy/zarfy.SlackBuild
@@ -81,6 +81,7 @@ LDFLAGS="-lm -lX11" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--libexec=/usr/lib \
+ --mandir=/usr/man \
--enable-shared=yes \
--enable-static=no \
--enable-debug=no \
@@ -92,6 +93,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild