summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0b209821cc51..cfa609384bd1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Nov 5 12:17:14 UTC 2017
+# Mon Nov 6 11:31:56 UTC 2017
pkgbase = swift-bin
pkgdesc = Official binary builds of the Swift programming language.
pkgver = 4.0.2
- pkgrel = 1
+ pkgrel = 2
url = https://swift.org
arch = x86_64
license = apache
@@ -24,6 +24,7 @@ pkgbase = swift-bin
source = https://swift.org/builds/swift-4.0.2-release/ubuntu1604/swift-4.0.2-RELEASE/swift-4.0.2-RELEASE-ubuntu16.04.tar.gz
source = https://swift.org/builds/swift-4.0.2-release/ubuntu1604/swift-4.0.2-RELEASE/swift-4.0.2-RELEASE-ubuntu16.04.tar.gz.sig
sha256sums = 9cac7622946defaad336e1722e94ce898c25de36a1e26729bc5ae88b4d15ba40
+ sha256sums = SKIP
pkgname = swift-bin
diff --git a/PKGBUILD b/PKGBUILD
index 253f72e0b070..33b77982a22c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_version=4.0.2
pkgname=swift-bin
pkgver=${_version//-/.}
-pkgrel=1
+pkgrel=2
pkgdesc="Official binary builds of the Swift programming language."
arch=('x86_64')
url="https://swift.org"
@@ -19,8 +19,8 @@ source=(
"https://swift.org/builds/swift-${_version}-release/ubuntu1604/swift-${_version}-RELEASE/swift-${_version}-RELEASE-ubuntu16.04.tar.gz"
"https://swift.org/builds/swift-${_version}-release/ubuntu1604/swift-${_version}-RELEASE/swift-${_version}-RELEASE-ubuntu16.04.tar.gz.sig"
)
-sha256sums=('9cac7622946defaad336e1722e94ce898c25de36a1e26729bc5ae88b4d15ba40')
-
+sha256sums=('9cac7622946defaad336e1722e94ce898c25de36a1e26729bc5ae88b4d15ba40'
+ 'SKIP')
package() {
tar -C "$pkgdir" -xf "swift-${_version}-RELEASE"*.tar.gz --strip 1
@@ -48,3 +48,4 @@ package() {
mv ${pkgdir}/usr/share/swift/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}
}
+