aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Geboski <jgeboski@gmail.com>2012-12-10 18:07:14 +0100
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:23:06 -0500
commitc3105d3a57a33345c14801c00bf6caf08db2d4eb (patch)
tree2144258a3ef2e52396fe18b86ab3fee2e80ff2bf
parentf10577d2b07181466f365d839613245a5076e35e (diff)
development/trac: Updated for version 1.0, cleanups.
Changed maintainer Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--development/trac/trac.SlackBuild16
-rw-r--r--development/trac/trac.info10
2 files changed, 11 insertions, 15 deletions
diff --git a/development/trac/trac.SlackBuild b/development/trac/trac.SlackBuild
index 9d686b204dfe5..689b63526ab02 100644
--- a/development/trac/trac.SlackBuild
+++ b/development/trac/trac.SlackBuild
@@ -1,20 +1,19 @@
#!/bin/sh
-# Slackware build script for
+# Slackware build script for Trac
# Written by Eugene Suter <easuter at gmail.com>
+# Maintained by James Geboski <jgeboski@gmail.com>
PRGNAM="trac"
SRCNAM="Trac"
-VERSION=${VERSION:-0.11.6}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -38,7 +37,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -53,20 +52,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Quick and easy install
python setup.py install --root=$PKG
-# Documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/README AUTHORS COPYING ChangeLog \
+cp -a \
+ doc/README AUTHORS COPYING ChangeLog \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Copy the slack-desc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-# Make the package
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/development/trac/trac.info b/development/trac/trac.info
index 73b0903966cb0..5700bbcd0204d 100644
--- a/development/trac/trac.info
+++ b/development/trac/trac.info
@@ -1,10 +1,10 @@
PRGNAM="trac"
-VERSION="0.11.6"
+VERSION="1.0"
HOMEPAGE="http://trac.edgewall.com/"
-DOWNLOAD="http://download.edgewall.org/trac/Trac-0.11.6.tar.gz"
-MD5SUM="f5a9542d81d3d50c3d9e46d8e2344f38"
+DOWNLOAD="http://download.edgewall.org/trac/Trac-1.0.tar.gz"
+MD5SUM="e07f052ec91efc1733cb9d49743ecb32"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="MySQL-python genshi"
-MAINTAINER="Eugene Suter"
-EMAIL="easuter@gmail.com"
+MAINTAINER="James Geboski"
+EMAIL="jgeboski@gmail.com"