summaryrefslogtreecommitdiff
path: root/source/n/libassuan/libassuan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/libassuan/libassuan.SlackBuild')
-rwxr-xr-xsource/n/libassuan/libassuan.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/n/libassuan/libassuan.SlackBuild b/source/n/libassuan/libassuan.SlackBuild
index 6d49096f..426464e5 100755
--- a/source/n/libassuan/libassuan.SlackBuild
+++ b/source/n/libassuan/libassuan.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PKGNAM=libassuan
-VERSION=1.0.5
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.bz2 | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on: