diff options
author | Ricardo J. Barberis <ricardo.barberis@gmail.com> | 2018-03-20 11:08:17 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-03-20 11:08:51 +0000 |
commit | f089409e20a59dd661ee55a30174f624f8df79d5 (patch) | |
tree | 60d170ac926c081061842bfe09dee147379ab5c4 /development/git-cola/git-cola.SlackBuild | |
parent | ab30d7abec76dbf2b7ea4f8a9b732ca9aeca41c8 (diff) |
development/git-cola: Updated for version 3.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/git-cola/git-cola.SlackBuild')
-rw-r--r-- | development/git-cola/git-cola.SlackBuild | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/development/git-cola/git-cola.SlackBuild b/development/git-cola/git-cola.SlackBuild index da71d00c2d8b1..78d159b01f11e 100644 --- a/development/git-cola/git-cola.SlackBuild +++ b/development/git-cola/git-cola.SlackBuild @@ -4,14 +4,16 @@ # Written by Andrew Rowland <darowland@ieee.org> +# Copyright (c) 2017-2018, Modified by: Ricardo J. Barberis <ricardo.barberis@gmail.com> + PRGNAM=git-cola -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -22,8 +24,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" @@ -53,12 +55,23 @@ find -L . \ python setup.py install --root=$PKG +make DESTDIR=$PKG prefix=/usr install +make DESTDIR=$PKG prefix=/usr install-doc +make DESTDIR=$PKG prefix=/usr install-html + 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 +mv $PKG/usr/share/man $PKG/usr/ +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 COPYRIGHT README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION +rmdir $PKG/usr/share/doc/$PRGNAM +rmdir $PKG/usr/share/doc mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |