summaryrefslogtreecommitdiff
path: root/games/ifm/ifm.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-05-29 17:09:14 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-01 23:54:53 +0700
commitf8e61f939dafffa0bd185dd0b29ac4087806f97b (patch)
treeeb39483065259d720f7176623c1a6a4e64a59ea4 /games/ifm/ifm.SlackBuild
parent82c4f7e5e7c3c40a136e5893a4e130a00f0df4ab (diff)
downloadslackbuilds-f8e61f939dafffa0bd185dd0b29ac4087806f97b.tar.gz
games/ifm: Fix install path.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'games/ifm/ifm.SlackBuild')
-rw-r--r--games/ifm/ifm.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/ifm/ifm.SlackBuild b/games/ifm/ifm.SlackBuild
index e50b6a93f1..9d83cd7871 100644
--- a/games/ifm/ifm.SlackBuild
+++ b/games/ifm/ifm.SlackBuild
@@ -63,7 +63,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install DESTDIR=$PKG docdir=$PKG/usr/doc/$PRGNAM-$VERSION
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
@@ -72,7 +72,6 @@ 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 doc $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install