From 2b3d5d2bf497e778ae6707e817fc28ec97dfe792 Mon Sep 17 00:00:00 2001 From: Leonard Schmidt Date: Tue, 6 Jun 2017 11:28:08 +0100 Subject: desktop/ctwm: Updated for version 4.0.1. Signed-off-by: David Spencer --- desktop/ctwm/ctwm.SlackBuild | 21 +++++++++++++-------- desktop/ctwm/ctwm.info | 8 ++++---- desktop/ctwm/slack-desc | 2 +- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/desktop/ctwm/ctwm.SlackBuild b/desktop/ctwm/ctwm.SlackBuild index 3ac6ff6da5..7c50831c7b 100644 --- a/desktop/ctwm/ctwm.SlackBuild +++ b/desktop/ctwm/ctwm.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ctwm -VERSION=${VERSION:-4.0.0} +VERSION=${VERSION:-4.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,13 +69,18 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +mkdir -p build cd build -cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DMANDIR=/usr/man \ - -DDOCDIR=/usr/doc/$PRGNAM-$VERSION \ - -DEXAMPLEDIR=/usr/doc/$PRGNAM-$VERSION .. -make -make DESTDIR="$PKG" install + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMANDIR=/usr/man \ + -DDOCDIR=/usr/doc/$PRGNAM-$VERSION \ + -DEXAMPLEDIR=/usr/doc/$PRGNAM-$VERSION \ + -DCMAKE_BUILD_TYPE=Release .. + + make + make install DESTDIR="$PKG" cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -88,7 +93,7 @@ install -D -m0755 $CWD/xinitrc.ctwm $PKG/etc/X11/xinit/xinitrc.ctwm mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES.md README.md \ - examples/example.ctwmrc examples/levitte.ctwmrc \ + examples/example.ctwmrc examples/levitte.ctwmrc \ examples/peterc.ctwmrc $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/desktop/ctwm/ctwm.info b/desktop/ctwm/ctwm.info index 6c40951e49..4e3ea99199 100644 --- a/desktop/ctwm/ctwm.info +++ b/desktop/ctwm/ctwm.info @@ -1,8 +1,8 @@ PRGNAM="ctwm" -VERSION="4.0.0" -HOMEPAGE="http://ctwm.org" -DOWNLOAD="https://www.ctwm.org/dist/ctwm-4.0.0.tar.xz" -MD5SUM="950c84dd20d32e5d47b1d50c6f328936" +VERSION="4.0.1" +HOMEPAGE="https://www.ctwm.org" +DOWNLOAD="https://www.ctwm.org/dist/ctwm-4.0.1.tar.xz" +MD5SUM="973261a72b0db5f91e7bce12dc57a716" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/desktop/ctwm/slack-desc b/desktop/ctwm/slack-desc index 86a13ff566..3762d1a495 100644 --- a/desktop/ctwm/slack-desc +++ b/desktop/ctwm/slack-desc @@ -12,7 +12,7 @@ ctwm: CTWM is an extension to twm that supports multiple virtual screens, ctwm: the pixmap file format, pinnable menus and other enhancements. ctwm: ctwm: -ctwm: Homepage: http://www.ctwm.org +ctwm: Homepage: https://www.ctwm.org ctwm: ctwm: ctwm: -- cgit v1.2.3