summaryrefslogtreecommitdiff
path: root/network/mew/mew.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/mew/mew.SlackBuild')
-rw-r--r--network/mew/mew.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/network/mew/mew.SlackBuild b/network/mew/mew.SlackBuild
index d61dcd37aa..d6d5ff28d6 100644
--- a/network/mew/mew.SlackBuild
+++ b/network/mew/mew.SlackBuild
@@ -2,19 +2,17 @@
# Slackware build script for Mew
-# Written by vvoody <ydoovv@gmail.com>
+# Maintained by vvoody <vvoodywang@gmail.com>
PRGNAM=mew
-VERSION=6.3.50
-BUILD=${BUILD:-1}
+VERSION=6.3.51
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -82,10 +80,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+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
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*
@@ -96,6 +92,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}