summaryrefslogtreecommitdiffstats
path: root/intltool
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2009-04-15 19:34:20 +0000
committer Eric Hameleers <alien@slackware.com>2009-04-15 19:34:20 +0000
commitd63d057892153d29577617cfc935d40d33d2b1d6 (patch)
tree0ff4f873cd516a6426c40db7aaaef9ca500030cf /intltool
parent2bc27a28b181a51f0d6a581af20ddc981c3145d2 (diff)
downloadasb-d63d057892153d29577617cfc935d40d33d2b1d6.tar.gz
asb-d63d057892153d29577617cfc935d40d33d2b1d6.tar.xz
Update
Diffstat (limited to 'intltool')
-rwxr-xr-xintltool/build/intltool.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/intltool/build/intltool.SlackBuild b/intltool/build/intltool.SlackBuild
index bb95bca6..9bbfa95f 100755
--- a/intltool/build/intltool.SlackBuild
+++ b/intltool/build/intltool.SlackBuild
@@ -32,8 +32,10 @@
# Changelog:
# 0.40-1: 03/Aug/2008 by Eric Hameleers <alien@slackware.com>
# * Initial build.
+# 0.40.5-1: 15/apr/2009 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
-# Run 'sh intltool.SlackBuild --cleanup' to build a Slackware package.
+# Run 'sh intltool.SlackBuild' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
# Install using 'installpkg'.
#
@@ -42,7 +44,7 @@
# Set initial variables:
PRGNAM=intltool
-VERSION=${VERSION:-0.40}
+VERSION=${VERSION:-0.40.5}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
# The TAG is a unique identifier for all your Slackware packages.
@@ -61,7 +63,7 @@ OUTPUT=${OUTPUT:-/tmp}
# Input URL: http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.0.tar.bz2
SOURCE="$SRCDIR/${PRGNAM}-${VERSION}.tar.bz2"
-SRCURL="http://ftp.gnome.org/pub/gnome/sources/${PRGNAM}/${VERSION}/${PRGNAM}-${VERSION}.0.tar.bz2"
+SRCURL="http://ftp.gnome.org/pub/gnome/sources/${PRGNAM}/$(echo ${VERSION}|cut -d. -f1-2)/${PRGNAM}-${VERSION}.tar.bz2"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -206,8 +208,3 @@ md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${
cd -
cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt
-# Clean up the extra stuff:
-if [ "$P1" = "--cleanup" ]; then
- rm -rf $TMP/tmp-$PRGNAM
- rm -rf $PKG
-fi