aboutsummaryrefslogtreecommitdiff
path: root/desktop/musca/musca.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/musca/musca.SlackBuild')
-rw-r--r--desktop/musca/musca.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/desktop/musca/musca.SlackBuild b/desktop/musca/musca.SlackBuild
index 01033e57a77b4..5a124c9a98fc3 100644
--- a/desktop/musca/musca.SlackBuild
+++ b/desktop/musca/musca.SlackBuild
@@ -48,7 +48,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -88,17 +87,19 @@ make \
DESTDIR=$PKG
mkdir -p $PKG/usr/bin
-cd $TMP/$PRGNAM-$VERSION
-cp musca apis xlisten $PKG/usr/bin/
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+cp -a musca apis xlisten $PKG/usr/bin/
mkdir -p $PKG/etc/X11/xinit
cat $CWD/xinitrc.musca > $PKG/etc/X11/xinit/xinitrc.musca
+mkdir -p $PKG/usr/man/man1
+gzip -9c musca.1 > $PKG/usr/man/man1/musca.1.gz
+
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp $CWD/README $PKG/usr/doc/$PRGNAM-$VERSION/
+cp $CWD/README gpl.txt $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@@ -106,4 +107,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-