mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/colordiff: Updated for version 1.0.9
This commit is contained in:
parent
d7a968965f
commit
67b16892b0
3 changed files with 14 additions and 20 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
PRGNAM=colordiff
|
||||
VERSION=${VERSION:-1.0.9}
|
||||
ARCH=${ARCH:-i486}
|
||||
ARCH=noarch
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -15,16 +15,6 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
fi
|
||||
|
||||
DOCS="BUGS CHANGES COPYING INSTALL README TODO"
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -47,7 +37,9 @@ install -m 755 cdiff.sh $PKG/usr/bin/cdiff
|
|||
gzip -9c colordiff.1 > $PKG/usr/man/man1/colordiff.1.gz
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
BUGS CHANGES COPYING INSTALL README TODO \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
@ -55,4 +47,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
|
|||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -3,6 +3,8 @@ VERSION="1.0.9"
|
|||
HOMEPAGE="http://colordiff.sourceforge.net"
|
||||
DOWNLOAD="http://colordiff.sourceforge.net/colordiff-1.0.9.tar.gz"
|
||||
MD5SUM="31864847eaa4e900f72bbb6bbc64f1ec"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Grigorios Bouzakis"
|
||||
EMAIL="grbzks@gmail.com"
|
||||
APPROVED="dsomero"
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
|-----handy-ruler------------------------------------------------------|
|
||||
colordiff: colordiff (colour-highlighted 'diff' output)
|
||||
colordiff:
|
||||
colordiff: The Perl script colordiff is a wrapper for 'diff' and produces the
|
||||
colordiff: same output but with pretty 'syntax' highlighting.
|
||||
colordiff: The Perl script colordiff is a wrapper for 'diff' and produces
|
||||
colordiff: the same output but with pretty 'syntax' highlighting.
|
||||
colordiff:
|
||||
colordiff: Colour schemes can be customized.
|
||||
colordiff:
|
||||
colordiff:
|
||||
colordiff: Homepage: http://colordiff.sourceforge.net/
|
||||
colordiff:
|
||||
colordiff:
|
||||
colordiff:
|
||||
colordiff:
|
||||
colordiff:
|
||||
colordiff:
|
||||
colordiff:
|
||||
|
|
Loading…
Reference in a new issue