summaryrefslogtreecommitdiff
path: root/source/n/gpgme/gpgme.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/gpgme/gpgme.SlackBuild')
-rwxr-xr-xsource/n/gpgme/gpgme.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/n/gpgme/gpgme.SlackBuild b/source/n/gpgme/gpgme.SlackBuild
index 59b9a047..b0ff93d6 100755
--- a/source/n/gpgme/gpgme.SlackBuild
+++ b/source/n/gpgme/gpgme.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PKGNAM=gpgme
-VERSION=1.3.0
+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: