diff options
author | Leonard Schmidt <lems@gmx.net> | 2017-06-06 11:28:08 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-10 10:47:36 +0700 |
commit | 2b3d5d2bf497e778ae6707e817fc28ec97dfe792 (patch) | |
tree | 790a62f7db3c45ee2a8812a6747bf0ce8386664c /desktop/ctwm | |
parent | f116d9c8e373b486871e016d80e9d8859734347d (diff) |
desktop/ctwm: Updated for version 4.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/ctwm')
-rw-r--r-- | desktop/ctwm/ctwm.SlackBuild | 21 | ||||
-rw-r--r-- | desktop/ctwm/ctwm.info | 8 | ||||
-rw-r--r-- | 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 3ac6ff6da5c3..7c50831c7b17 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 6c40951e49d6..4e3ea9919992 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 86a13ff566cc..3762d1a495f7 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: |