diff options
author | Marcel Saegebarth <marc@mos6581.de> | 2015-01-30 14:40:38 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-31 06:57:00 +0700 |
commit | 2128b6e88c0cb0127fb9801f48edaaf89bdbd124 (patch) | |
tree | 0efcc6bb3dc2f337c7ddc45d9ffbdad52d3ea080 /misc | |
parent | 687763069bad8b3d579ce13400f01f5544a7b88c (diff) |
misc/dvtm: copyright year + cleanup
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dvtm/dvtm.SlackBuild | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/misc/dvtm/dvtm.SlackBuild b/misc/dvtm/dvtm.SlackBuild index 81062332472c..8c8f9a5078a6 100644 --- a/misc/dvtm/dvtm.SlackBuild +++ b/misc/dvtm/dvtm.SlackBuild @@ -1,7 +1,8 @@ #!/bin/sh -# SlackBuild script for "dvtm". -# Copyright 2011-2014 Marcel Saegebarth <marc@mos6581.de> +# Slackware build script for "dvtm". + +# Copyright 2011-2015 Marcel Saegebarth <marc@mos6581.de> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -42,17 +43,17 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -e @@ -74,12 +75,16 @@ CFLAGS="$SLKCFLAGS" \ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ make make install DESTDIR=$PKG PREFIX=/usr MANPREFIX=/usr/man +# binaries are already stripped mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README LICENSE \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/man/man1 -type f -name "*.?" -exec gzip -9f {} \; +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 $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |