summaryrefslogtreecommitdiff
path: root/desktop/mousepad/mousepad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/mousepad/mousepad.SlackBuild')
-rw-r--r--desktop/mousepad/mousepad.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/desktop/mousepad/mousepad.SlackBuild b/desktop/mousepad/mousepad.SlackBuild
index bfefeb04ad..63e49b54f1 100644
--- a/desktop/mousepad/mousepad.SlackBuild
+++ b/desktop/mousepad/mousepad.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for mousepad
-# Copyright 2014-2016 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2014-2018 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -20,13 +20,13 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mousepad
-VERSION=${VERSION:-0.4.0}
+VERSION=${VERSION:-823215f511ee49176fcab7565bbf498b1a88e9b4}
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
@@ -37,8 +37,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"
@@ -51,7 +51,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README"
+DOCS="AUTHORS COPYING INSTALL NEWS README"
set -e
@@ -59,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,13 +70,14 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --enable-debug=minimum \
--build=$ARCH-slackware-linux
make