aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-03-22 01:58:31 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-03-23 08:17:14 +0700
commitf405d1b873d1ca6fafece1b3a46cdacc352af1dc (patch)
tree697eb08b6d8625350867c1bf7201bf2e5f6c0036 /desktop
parentb60c71095322c8fd6cb7bd82ea7215ae8313aa75 (diff)
desktop/cwm: Updated for version 7.4.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/cwm/cwm.SlackBuild18
-rw-r--r--desktop/cwm/cwm.info6
2 files changed, 11 insertions, 13 deletions
diff --git a/desktop/cwm/cwm.SlackBuild b/desktop/cwm/cwm.SlackBuild
index 38b3f4984b6b..589a84651d41 100644
--- a/desktop/cwm/cwm.SlackBuild
+++ b/desktop/cwm/cwm.SlackBuild
@@ -23,6 +23,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20240322 bkw: update for v7.4.
# 20220611 bkw: update for v7.1.
# 20201020 bkw: update for v6.7.
# 20200221 bkw: update for v6.6.
@@ -37,7 +38,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cwm
-VERSION=${VERSION:-7.1}
+VERSION=${VERSION:-7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -61,16 +62,12 @@ 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
@@ -82,8 +79,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
sed -i "s,-O2,$SLKCFLAGS," Makefile
@@ -97,9 +94,10 @@ strip $PKG/usr/bin/$PRGNAM
gzip -9 $PKG/usr/man/man?/*.?
install -m 0755 -D $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a README $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/desktop/cwm/cwm.info b/desktop/cwm/cwm.info
index ea38672b914e..09c8d9287b3d 100644
--- a/desktop/cwm/cwm.info
+++ b/desktop/cwm/cwm.info
@@ -1,8 +1,8 @@
PRGNAM="cwm"
-VERSION="7.1"
+VERSION="7.4"
HOMEPAGE="https://github.com/leahneukirchen/cwm"
-DOWNLOAD="https://github.com/leahneukirchen/cwm/archive/v7.1/cwm-7.1.tar.gz"
-MD5SUM="1bcb9200badb936d3a9dae8c4f4d3eb5"
+DOWNLOAD="https://github.com/leahneukirchen/cwm/archive/v7.4/cwm-7.4.tar.gz"
+MD5SUM="339bd7f4de8d8327834fde5897fef833"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""