Skip to content

Instantly share code, notes, and snippets.

@wackywendell
Created April 18, 2016 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wackywendell/af5799470468139880e321517fdd9635 to your computer and use it in GitHub Desktop.
Save wackywendell/af5799470468139880e321517fdd9635 to your computer and use it in GitHub Desktop.
swift-development-bin-patch
diff --git a/PKGBUILD b/PKGBUILD
index 90322d4..7f6c533 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
# Maintainer: Ashley Towns <mail(at)ashleytowns(dot)id(dot)au>
-_version=DEVELOPMENT-SNAPSHOT-2016-03-16-a
+_version=DEVELOPMENT-SNAPSHOT-2016-04-12-a
pkgname=swift-development-bin
pkgver=${_version//-/.}
-pkgrel=2
+pkgrel=1
pkgdesc="The Swift programming language, the development snapshot binary drops from the official website"
arch=('x86_64')
url="https://swift.org"
license=('apache')
-depends=('icu55' 'ncurses5-compat-libs' 'libedit' 'python2' 'libutil-linux' 'libbsd' 'clang' 'libtinfo' 'python2-six' 'libxml2')
+depends=('icu55' 'ncurses5-compat-libs' 'libedit' 'python2' 'libutil-linux' 'libbsd' 'clang' 'libtinfo-5' 'python2-six' 'libxml2')
conflicts=('lldb' 'swift-language-git' 'swift-bin')
options=('!strip')
validpgpkeys=('7463A81A4B2EEA1B551FFBCFD441C977412B37AD')
@@ -21,7 +21,7 @@ source=(
"https://swift.org/builds/development/ubuntu1510/swift-${_version}/swift-${_version}-ubuntu15.10.tar.gz.sig"
"swift.conf"
)
-sha256sums=('9f15fd7614a4e2a0c62202526b58604642b2ed338839f80cb70146c1a5bd4c0a'
+sha256sums=('1d5bc2ca2fb963c216aa06b103909be2e89e67da0e750ddaef3fecc4ed4b79c8'
'SKIP'
'c93a77b3a9b2647266a5ccdbe77f47d51cb7051d23ee7cca6258564daf713f35')
@@ -47,7 +47,7 @@ package() {
find "${pkgdir}/usr/lib" -type f -exec chmod a+r {} \;
# Update glibc map paths
- sed -i 's/\/x86_64-linux-gnu//g' "${pkgdir}/usr/lib/swift/glibc/module.map"
+ sed -i 's/\/x86_64-linux-gnu//g' "${pkgdir}/usr/lib/swift/linux/x86_64/glibc.modulemap"
# Adds swift libs to the ldpath
install -Dm644 $srcdir/swift.conf $pkgdir/etc/ld.so.conf.d/swift.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment