diff options
author | Ashley Towns | 2015-12-04 19:48:33 +1100 |
---|---|---|
committer | Ashley Towns | 2015-12-04 19:48:33 +1100 |
commit | 88e9fd46d4a3475eb18a21ffaa2df02e52ce2293 (patch) | |
tree | a68a5ea6f2ef204fe9a7c51493dcff99a5b75293 /PKGBUILD | |
parent | d64ad810fc7dc3d25577a8c4d883b7527027fef6 (diff) | |
download | aur-88e9fd46d4a3475eb18a21ffaa2df02e52ce2293.tar.gz |
clean up the way versioning is handled
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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' |