summaryrefslogtreecommitdiff
path: root/development/colordiff
diff options
context:
space:
mode:
Diffstat (limited to 'development/colordiff')
-rw-r--r--development/colordiff/colordiff.SlackBuild18
-rw-r--r--development/colordiff/colordiff.info2
-rw-r--r--development/colordiff/slack-desc14
3 files changed, 14 insertions, 20 deletions
diff --git a/development/colordiff/colordiff.SlackBuild b/development/colordiff/colordiff.SlackBuild
index a3daa87a0b..1f399a9594 100644
--- a/development/colordiff/colordiff.SlackBuild
+++ b/development/colordiff/colordiff.SlackBuild
@@ -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}
diff --git a/development/colordiff/colordiff.info b/development/colordiff/colordiff.info
index 2c661664d7..9498deef5f 100644
--- a/development/colordiff/colordiff.info
+++ b/development/colordiff/colordiff.info
@@ -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"
diff --git a/development/colordiff/slack-desc b/development/colordiff/slack-desc
index f01eb1a99b..dda26beff1 100644
--- a/development/colordiff/slack-desc
+++ b/development/colordiff/slack-desc
@@ -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: