summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAshley Towns2015-12-04 19:48:33 +1100
committerAshley Towns2015-12-04 19:48:33 +1100
commit88e9fd46d4a3475eb18a21ffaa2df02e52ce2293 (patch)
treea68a5ea6f2ef204fe9a7c51493dcff99a5b75293 /PKGBUILD
parentd64ad810fc7dc3d25577a8c4d883b7527027fef6 (diff)
downloadaur-88e9fd46d4a3475eb18a21ffaa2df02e52ce2293.tar.gz
clean up the way versioning is handled
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 15320a2ee05e..354a3a23fff0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,9 @@
# Maintainer: Ashley Towns <mail(at)ashleytowns(dot)id(dot)au>
+_version=2.2-SNAPSHOT-2015-12-01-b
+
pkgname=swift-language-bin
-pkgver=2.2.2015.12.01
+pkgver=${_version//-/.}
pkgrel=1
pkgdesc="The Swift programming language, the binary drops from the official website"
arch=('x86_64')
@@ -12,12 +14,9 @@ conflicts=('lldb')
options=('!strip')
validpgpkeys=('7463A81A4B2EEA1B551FFBCFD441C977412B37AD')
-_version=2.2
-_snapshot=SNAPSHOT-2015-12-01-b
-
source=(
- "https://swift.org/builds/ubuntu1510/swift-${_version}-${_snapshot}/swift-${_version}-${_snapshot}-ubuntu15.10.tar.gz"
- "https://swift.org/builds/ubuntu1510/swift-${_version}-${_snapshot}/swift-${_version}-${_snapshot}-ubuntu15.10.tar.gz.sig"
+ "https://swift.org/builds/ubuntu1510/swift-${_version}/swift-${_version}-ubuntu15.10.tar.gz"
+ "https://swift.org/builds/ubuntu1510/swift-${_version}/swift-${_version}-ubuntu15.10.tar.gz.sig"
)
sha256sums=(
'04d62c13a50bb6c3003676fe7521c9e28bc7bc38e42524330595e80a6df24806'