summaryrefslogtreecommitdiff
path: root/network/mailman/mailman.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/mailman/mailman.SlackBuild')
-rw-r--r--network/mailman/mailman.SlackBuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/network/mailman/mailman.SlackBuild b/network/mailman/mailman.SlackBuild
index 39f88e1e9d..66b6de05a4 100644
--- a/network/mailman/mailman.SlackBuild
+++ b/network/mailman/mailman.SlackBuild
@@ -82,12 +82,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
-)
+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/etc/profile.d
cat $CWD/profile.d/mailman.sh > $PKG/etc/profile.d/mailman.sh
@@ -99,6 +95,7 @@ cat $CWD/rc.mailman > $PKG/etc/rc.d/rc.mailman.new
chmod 0755 $PKG/etc/rc.d/rc.mailman.new
mkdir -p $PKG/$PREFIX/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc
cp -a ACKNOWLEDGMENTS BUGS FAQ NEWS README* STYLEGUIDE.txt TODO \
$PKG/$PREFIX/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/$PREFIX/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild