mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
misc/dmg2img: Added man page.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
19b94cfeac
commit
35c12ebf4e
1 changed files with 10 additions and 3 deletions
|
@ -77,10 +77,17 @@ 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
|
||||
|
||||
# Install man pages
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
install -m 755 $CWD/dmg2img.1 $PKG/usr/man/man1/dmg2img.1
|
||||
install -m 755 vfdecrypt.1 $PKG/usr/man/man1/vfdecrypt.1
|
||||
# Compress man pages
|
||||
find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man/man1 -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
COPYING README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
Loading…
Reference in a new issue