aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2023-12-30 22:24:56 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-06 08:08:28 +0700
commit315704ea6ce7cd56812b8be1beae1d945868903d (patch)
tree475375cd76edff8e543d09856de109f0a818d797
parentf3a1c35c339f57528914a5351a35c194dbc05741 (diff)
desktop/disper: Updated for version 0.3.1.1, new maint.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/disper/disper.SlackBuild29
-rw-r--r--desktop/disper/disper.info12
2 files changed, 12 insertions, 29 deletions
diff --git a/desktop/disper/disper.SlackBuild b/desktop/disper/disper.SlackBuild
index ae1884384608b..a59116ffde2e9 100644
--- a/desktop/disper/disper.SlackBuild
+++ b/desktop/disper/disper.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for disper
# Copyright 2015 Markus Hutmacher Germany
+# Copyright 2023 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=disper
-VERSION=${VERSION:-0.3.1}
+VERSION=${VERSION:-0.3.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,29 +48,14 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_${VERSION}.tar.gz
-mv $PRGNAM ${PRGNAM}-${VERSION}
-cd ${TMP}/$PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -94,7 +77,7 @@ 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/disper/disper.info b/desktop/disper/disper.info
index b34f7bc43fa83..b75f93c0ef4ff 100644
--- a/desktop/disper/disper.info
+++ b/desktop/disper/disper.info
@@ -1,10 +1,10 @@
PRGNAM="disper"
-VERSION="0.3.1"
-HOMEPAGE="http://willem.engen.nl/projects/disper/"
-DOWNLOAD="http://ppa.launchpad.net/disper-dev/ppa/ubuntu/pool/main/d/disper/disper_0.3.1.tar.gz"
-MD5SUM="4474f6c98078cfab24f49db744eb1e80"
+VERSION="0.3.1.1"
+HOMEPAGE="https://willem.engen.nl/projects/disper/"
+DOWNLOAD="https://github.com/apeyser/disper/archive/disper-0.3.1.1/disper-disper-0.3.1.1.tar.gz"
+MD5SUM="89cd0998b463dbd13e3c4571966d0153"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Markus Hutmacher"
-EMAIL="mailing@markhu.de"
+MAINTAINER="Andrew Clemons"
+EMAIL="andrew.clemons@gmail.com"