summaryrefslogtreecommitdiff
path: root/source/d/guile/guile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/guile/guile.SlackBuild')
-rwxr-xr-xsource/d/guile/guile.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/d/guile/guile.SlackBuild b/source/d/guile/guile.SlackBuild
index ec6cd977..03433ee5 100755
--- a/source/d/guile/guile.SlackBuild
+++ b/source/d/guile/guile.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,8 +21,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=1.8.7
-BUILD=${BUILD:-3}
+PKGNAM=guile
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -108,7 +109,7 @@ fi
mkdir -p $PKG/usr/doc/guile-$VERSION
cp -a \
AUTHORS COPYING* FAQ GUILE-VERSION \
- HACKING INSTALL LICENSE NEWS README THANKS \
+ HACKING INSTALL LICENSE NEWS README* THANKS \
$PKG/usr/doc/guile-$VERSION
mkdir -p $PKG/install