summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMark Blakeney2018-08-08 18:21:47 +1000
committerMark Blakeney2018-08-08 18:22:53 +1000
commit9d55c01f7c1830702826cf52079803ed38ca215a (patch)
tree9a2dc2b241369f48125fe091994565d3a0d199ec /PKGBUILD
parent728242eeade8cb05e2f80e72ae95c56aa5d19cb1 (diff)
downloadaur-9d55c01f7c1830702826cf52079803ed38ca215a.tar.gz
No need to extract glibc tarball
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 313fd5983ea..09adf4c3f69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,6 +19,7 @@ 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=('755a23c4f32a26c0404e9418e0210bcf025717d6448bd0c63af97d9b37e8c7d9'
'a9e1b18d7f613be660556dbd6883781e88a0f5113230147e230d3e2f268792dc')
@@ -32,6 +33,7 @@ package() {
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"
}