diff options
author | Marcel O'Neil | 2018-08-15 17:10:41 -0400 |
---|---|---|
committer | Marcel O'Neil | 2018-08-15 17:10:41 -0400 |
commit | b1ed5223a4036c6cf1527e65c2a754cb74bdb64f (patch) | |
tree | a7cfb33a197d5d6a0d07792f0335151d5719cff8 | |
parent | d0b77cd6ced5c0f76480aab963762fb68727fbc6 (diff) | |
download | aur-b1ed5223a4036c6cf1527e65c2a754cb74bdb64f.tar.gz |
broken glibc workaround
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 26 insertions, 4 deletions
@@ -1,20 +1,26 @@ pkgbase = exodus pkgdesc = All-in-one app to secure, manage and exchange blockchain assets pkgver = 1.57.0 - pkgrel = 1 + pkgrel = 2 url = https://exodus.io arch = x86_64 license = custom:"Copyright © 2017 Exodus" + makedepends = patchelf depends = gconf depends = gtk2 depends = nss depends = libxss + noextract = glibc-2.27-3-x86_64.pkg.tar.xz + options = !strip + options = staticlibs source = https://exodusbin.azureedge.net/releases/exodus-linux-x64-1.57.0.zip source = http://marceloneil.com/exodus-icons/icons.zip source = exodus.desktop + source = https://archive.archlinux.org/packages/g/glibc/glibc-2.27-3-x86_64.pkg.tar.xz sha256sums = fc4e439274f8ff93e893c0c878e20b0f04f97d5b4ec668814549daad0b8ecf93 sha256sums = 5f3da3a79fea80477f38e698a2ea1723320f4b3fc90bf7d615dab12af0d34c1a sha256sums = 04676d81272a35a91150a7eec4640e69ca50f2e479d29fad8be90160ee74122c + sha256sums = a9e1b18d7f613be660556dbd6883781e88a0f5113230147e230d3e2f268792dc pkgname = exodus @@ -2,18 +2,23 @@ pkgname=exodus pkgver=1.57.0 -pkgrel=1 +pkgrel=2 pkgdesc="All-in-one app to secure, manage and exchange blockchain assets" arch=('x86_64') url="https://exodus.io" license=('custom:"Copyright © 2017 Exodus"') depends=('gconf' 'gtk2' 'nss' 'libxss') +makedepends=(patchelf) +options=("!strip" "staticlibs") +noextract=("glibc-2.27-3-x86_64.pkg.tar.xz") source=("https://exodusbin.azureedge.net/releases/exodus-linux-x64-${pkgver}.zip" "http://marceloneil.com/exodus-icons/icons.zip" - "${pkgname}.desktop") + "${pkgname}.desktop" + "https://archive.archlinux.org/packages/g/glibc/glibc-2.27-3-x86_64.pkg.tar.xz") sha256sums=('fc4e439274f8ff93e893c0c878e20b0f04f97d5b4ec668814549daad0b8ecf93' '5f3da3a79fea80477f38e698a2ea1723320f4b3fc90bf7d615dab12af0d34c1a' - '04676d81272a35a91150a7eec4640e69ca50f2e479d29fad8be90160ee74122c') + '04676d81272a35a91150a7eec4640e69ca50f2e479d29fad8be90160ee74122c' + 'a9e1b18d7f613be660556dbd6883781e88a0f5113230147e230d3e2f268792dc') package() { cd $srcdir/Exodus-linux-x64 @@ -32,4 +37,15 @@ package() { $pkgdir/usr/share/icons/hicolor/$i/apps/exodus.png done chmod -R ugo+rX $pkgdir/opt + + # From https://aur.archlinux.org/cgit/aur.git/commit/?h=visual-studio-code-bin&id=e025a0af8d422d5f0d1e7ccd31e340473acb5512 + cd $srcdir + _ldir="/opt/$pkgname" + _pdir="$pkgdir/$_ldir" + _pexe="$_pdir/Exodus" + mkdir -p "$_pdir/glibc" + tar -xJC "$_pdir/glibc" -f "glibc-2.27-3-x86_64.pkg.tar.xz" + rm "$_pdir/glibc/"{.BUILDINFO,.INSTALL,.MTREE,.PKGINFO} + patchelf --set-interpreter "$_ldir/glibc/usr/lib/ld-linux-x86-64.so.2" "$_pexe" + patchelf --set-rpath "$_ldir:$_ldir/glibc/usr/lib" "$_pexe" } |