summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshley Towns2016-03-24 20:37:57 +1100
committerAshley Towns2016-03-24 20:37:57 +1100
commit430c351e371810eff7f7414cd7e1886578a814c7 (patch)
tree0aeae85b2a5daeabe5aa1756b73a948628fcc816
parent99cab36456d603c50224b919c9ba0eae5fac5a7b (diff)
downloadaur-430c351e371810eff7f7414cd7e1886578a814c7.tar.gz
drop -RELEASE from name
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1767d2268f29..2deb47efa8f7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Mar 24 09:25:19 UTC 2016
+# Thu Mar 24 09:37:44 UTC 2016
pkgbase = swift-bin
pkgdesc = The Swift programming language, the binary drops from the official website
- pkgver = 2.2.RELEASE
+ pkgver = 2.2
pkgrel = 2
url = https://swift.org
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index a7736e51e80f..e56895eee12c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Ashley Towns <mail(at)ashleytowns(dot)id(dot)au>
-_version=2.2-RELEASE
+_version=2.2
pkgname=swift-bin
pkgver=${_version//-/.}
pkgrel=2
@@ -16,14 +16,14 @@ provides=('swift-language')
replaces=('swift-language-bin')
source=(
- "https://swift.org/builds/swift-2.2-release/ubuntu1510/swift-${_version}/swift-${_version}-ubuntu15.10.tar.gz"
- "https://swift.org/builds/swift-2.2-release/ubuntu1510/swift-${_version}/swift-${_version}-ubuntu15.10.tar.gz.sig"
+ "https://swift.org/builds/swift-2.2-release/ubuntu1510/swift-${_version}-RELEASE/swift-${_version}-RELEASE-ubuntu15.10.tar.gz"
+ "https://swift.org/builds/swift-2.2-release/ubuntu1510/swift-${_version}-RELEASE/swift-${_version}-RELEASE-ubuntu15.10.tar.gz.sig"
)
sha256sums=('e529bd7ac72b13a8d181f35e38f95836ac6af7b0968815459ac168e26e4e41c1'
'SKIP')
package() {
- tar -C "$pkgdir" -xf "swift-${_version}"*.tar.gz --strip 1
+ tar -C "$pkgdir" -xf "swift-${_version}-RELEASE"*.tar.gz --strip 1
# Permission fix
find "${pkgdir}" -type d -exec chmod 755 {} +