summaryrefslogtreecommitdiff
path: root/network/mpop/mpop.SlackBuild
diff options
context:
space:
mode:
authorMarek Buras <cyfr0n@onet.pl>2017-11-11 00:13:07 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-18 12:40:57 +0700
commitaef2baa8e15806eb8777f0272606b590a65cc057 (patch)
tree22abd4bdc63db8f3463e8eca93c743c5ae77fe51 /network/mpop/mpop.SlackBuild
parenta2fb6b3a43882ccd7bed75befcdcdc3fc1176619 (diff)
downloadslackbuilds-aef2baa8e15806eb8777f0272606b590a65cc057.tar.gz
network/mpop: Updated for version 1.2.6.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/mpop/mpop.SlackBuild')
-rw-r--r--network/mpop/mpop.SlackBuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/network/mpop/mpop.SlackBuild b/network/mpop/mpop.SlackBuild
index 804d7bb24e..9e285286ca 100644
--- a/network/mpop/mpop.SlackBuild
+++ b/network/mpop/mpop.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mpop
-VERSION=${VERSION:-1.2.5}
+VERSION=${VERSION:-1.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -87,18 +87,17 @@ make install-strip DESTDIR=$PKG || exit 1
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/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS NOTES README \
-THANKS doc/mpoprc.example $PKG/usr/doc/$PRGNAM-$VERSION
-cp scripts/vim/README scripts/vim/mpop.vim $PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
+cp -a AUTHORS COPYING ChangeLog NEWS NOTES README THANKS doc/mpoprc.example \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a scripts/vim/README -a scripts/vim/mpop.vim \
+ $PKG/usr/doc/$PRGNAM-$VERSION/scripts/vim
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install