diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-19 00:24:17 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-20 02:27:21 +0700 |
commit | a046993f702ea54cf8604e846adfca98d618bacf (patch) | |
tree | ea9333b00521ebb9e33cccf4ca34a9fd7f5c1296 /system | |
parent | bad15962241aa62f7099088400181ac74a87b8de (diff) | |
download | slackbuilds-a046993f702ea54cf8604e846adfca98d618bacf.tar.gz |
Multiple: Fix manpages.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/cronie/cronie.SlackBuild | 6 | ||||
-rw-r--r-- | system/ifuse/ifuse.SlackBuild | 3 | ||||
-rw-r--r-- | system/zarfy/zarfy.SlackBuild | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/system/cronie/cronie.SlackBuild b/system/cronie/cronie.SlackBuild index ef6cbd9fa7..0b04abbd5e 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 406714baae..a5c9c415cc 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 d1b8880555..07210e1e60 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 |