diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-03 17:59:59 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-04 17:53:38 +0700 |
commit | 059f5241a5798b22cedc3b175d6f2f933efcb86b (patch) | |
tree | a96db65f34e8ee45830dd0b58c738210c23ce4eb /misc | |
parent | 5b9df04ce5eef1a5390004b60b0d6fa7208b3fb5 (diff) |
misc/kronometer: Updated for version 2.2.3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/kronometer/kronometer.SlackBuild | 14 | ||||
-rw-r--r-- | misc/kronometer/kronometer.info | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/misc/kronometer/kronometer.SlackBuild b/misc/kronometer/kronometer.SlackBuild index 8e27c564a6fcb..8cf3af76e2869 100644 --- a/misc/kronometer/kronometer.SlackBuild +++ b/misc/kronometer/kronometer.SlackBuild @@ -25,14 +25,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=kronometer -VERSION=${VERSION:-1.6.0} +VERSION=${VERSION:-2.2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -84,6 +84,7 @@ cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DKDE_INSTALL_MANDIR=/usr/man \ -DCMAKE_INSTALL_PREFIX=/usr .. make make install DESTDIR=$PKG @@ -92,10 +93,11 @@ cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# No man pages with kronometer +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 COPYING README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/kronometer/kronometer.info b/misc/kronometer/kronometer.info index 061a254c37183..840ea58cd7085 100644 --- a/misc/kronometer/kronometer.info +++ b/misc/kronometer/kronometer.info @@ -1,8 +1,8 @@ PRGNAM="kronometer" -VERSION="1.6.0" +VERSION="2.2.3" HOMEPAGE="https://userbase.kde.org/Kronometer" -DOWNLOAD="https://download.kde.org/stable/kronometer/1.6.0/src/kronometer-1.6.0.tar.xz" -MD5SUM="8e1a3ec57862c02d74e026e5825103bb" +DOWNLOAD="https://download.kde.org/stable/kronometer/2.2.3/src/kronometer-2.2.3.tar.xz" +MD5SUM="9d597e9fb8efe6802d6f85db22f5b753" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |