aboutsummaryrefslogtreecommitdiff
path: root/libraries/allegro
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-05-30 14:00:54 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-31 10:36:07 +0700
commitd75892479fc8cde51160da39312c4d0de2d8902d (patch)
tree03a08e2cde390a862fba7aa9d3f7554e58b43a45 /libraries/allegro
parent65056995fe4b84607cb9072139bc533f1cc7c4ed (diff)
libraries/allegro: Add man pages.
Thanks to Eugene and Dimitris Zlatanidis. Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'libraries/allegro')
-rw-r--r--libraries/allegro/allegro.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild
index e3d8b983f6af2..622ae3670859d 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=allegro
VERSION=${VERSION:-5.0.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -86,6 +86,12 @@ cd ..
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, thanks to Dimitris Zlatanidis
+mkdir -p $PKG/usr/man/man3
+install -m 0644 docs/man/* $PKG/usr/man/man3
+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