audio/rumor: Fixed (Handle info file correctly)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-27 21:07:32 -04:00 committed by Robby Workman
parent 7db9400097
commit c64e687180
1 changed files with 4 additions and 3 deletions

View File

@ -4,7 +4,7 @@
PRGNAM=rumor
VERSION=${VERSION:-1.0.5}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -57,6 +57,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--infodir=/usr/info \
--disable-debug \
--build=$ARCH-slackware-linux
@ -67,8 +68,8 @@ 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
# no man page, compress info page.
find $PKG/usr/share/info/ -type f -exec gzip -9 {} \;
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \