summaryrefslogtreecommitdiff
path: root/desktop/mousepad
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2018-03-30 23:30:05 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-13 04:21:41 +0700
commit88bc0d66bbc3ff49d6773780290d86862d97ae41 (patch)
tree085bfe1127878993f01c6ab0b941ef8a62f7ef9b /desktop/mousepad
parent6377ec6372586e794535e78850432ae5627b97b1 (diff)
downloadslackbuilds-88bc0d66bbc3ff49d6773780290d86862d97ae41.tar.gz
desktop/mousepad: Updated for version 823215f.
Diffstat (limited to 'desktop/mousepad')
-rw-r--r--desktop/mousepad/mousepad.SlackBuild17
-rw-r--r--desktop/mousepad/mousepad.info8
-rw-r--r--desktop/mousepad/slack-desc2
3 files changed, 14 insertions, 13 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
diff --git a/desktop/mousepad/mousepad.info b/desktop/mousepad/mousepad.info
index 3ee6de313e..93e0c415b1 100644
--- a/desktop/mousepad/mousepad.info
+++ b/desktop/mousepad/mousepad.info
@@ -1,8 +1,8 @@
PRGNAM="mousepad"
-VERSION="0.4.0"
-HOMEPAGE="http://archive.xfce.org/src/apps/mousepad/"
-DOWNLOAD="http://archive.xfce.org/src/apps/mousepad/0.4/mousepad-0.4.0.tar.bz2"
-MD5SUM="f55314c5dda6323883241e6cf01550a7"
+VERSION="823215f511ee49176fcab7565bbf498b1a88e9b4"
+HOMEPAGE="https://git.xfce.org/apps/mousepad/about/"
+DOWNLOAD="https://git.xfce.org/apps/mousepad/snapshot/mousepad-823215f511ee49176fcab7565bbf498b1a88e9b4.tar.gz"
+MD5SUM="fba4f3594bed8afd5d7dac78910a7c0c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtksourceview3"
diff --git a/desktop/mousepad/slack-desc b/desktop/mousepad/slack-desc
index 0bedacfee6..00f50f69f1 100644
--- a/desktop/mousepad/slack-desc
+++ b/desktop/mousepad/slack-desc
@@ -14,6 +14,6 @@ mousepad:
mousepad: Mousepad includes complete support for UTF-8 text,
mousepad: the usual cut/copy/paste functionality, font selection support, etc.
mousepad:
-mousepad: Archive: http://archive.xfce.org/src/apps/mousepad/
+mousepad: Website: https://git.xfce.org/apps/mousepad/about/
mousepad:
mousepad: