summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Blakeney2018-08-17 07:58:31 +1000
committerMark Blakeney2018-08-17 07:59:54 +1000
commit83e9699a5150a3397cd258811d45df630f9ad10a (patch)
tree5cada5f46716a650cdbb24dbcca8389e656ab114 /PKGBUILD
parent03aaf11f4d428953a147154a0a138c08377ac70f (diff)
downloadaur-83e9699a5150a3397cd258811d45df630f9ad10a.tar.gz
Revert glibc hack now glibc 2.28-4 includes fix
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 5 insertions, 17 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a5a16c7ffba..0b53d8cf76c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,38 +4,26 @@
_pkgname=skypeforlinux
pkgname=$_pkgname-stable-bin
pkgver=8.28.0.41
-pkgrel=1
+pkgrel=2
pkgdesc="Skype for Linux - Stable/Release Version"
arch=("x86_64")
url="http://www.skype.com"
license=("custom")
-depends=("gtk3" "libxss" "gconf" "alsa-lib" "libxtst" "libsecret" "nss")
+depends=("gtk3" "libxss" "gconf" "alsa-lib" "libxtst" "libsecret" "nss" "glibc>=2.28-4")
optdepends=("gnome-keyring")
-makedepends=("patchelf")
-options=("!strip" "staticlibs")
conflicts=("$_pkgname" "$_pkgname-bin" "$_pkgname-preview-bin" "$_pkgname-beta-bin" "skype")
provides=("$_pkgname" "skype")
source=(
"https://repo.skype.com/deb/pool/main/s/$_pkgname/${_pkgname}_${pkgver}_amd64.deb"
-"https://archive.archlinux.org/packages/g/glibc/glibc-2.27-3-${CARCH}.pkg.tar.xz"
)
-noextract=("glibc-2.27-3-${CARCH}.pkg.tar.xz")
-sha256sums=('5df85705c6844552a201e9040184990829d45db7039263486f65fc85c371cdcf'
- 'a9e1b18d7f613be660556dbd6883781e88a0f5113230147e230d3e2f268792dc')
+sha256sums=('5df85705c6844552a201e9040184990829d45db7039263486f65fc85c371cdcf')
package() {
- _ldir="/usr/share/$_pkgname"
- _pdir="$pkgdir/$_ldir"
- _pexe="$_pdir/$_pkgname"
tar -xJC "$pkgdir" -f data.tar.xz
install -d "$pkgdir/usr/share/licenses/$pkgname"
- mv "$_pdir/LICENSES.chromium.html" "$pkgdir/usr/share/licenses/$pkgname/"
+ mv "$pkgdir/usr/share/$_pkgname/LICENSES.chromium.html" \
+ "$pkgdir/usr/share/licenses/$pkgname/"
rm -rf "$pkgdir/opt"
- mkdir -p "$_pdir/glibc"
- tar -xJC "$_pdir/glibc" -f "glibc-2.27-3-$CARCH.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"
}
# vim:set ts=2 sw=2 et: