From e35a466788eeb8fec39317a7ee82084cef4551b7 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Wed, 1 Aug 2018 20:15:29 +0200 Subject: [PATCH] Use CARCH instead of x86_64 --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 8a2cace..e5d6ca5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -60,13 +60,13 @@ package() { # Fix FS#22552 ln -sf ../../libpython${_pybasever}m.so \ - "${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m-x86_64-linux-gnu/libpython${_pybasever}m.so" + "${pkgdir}/usr/lib/python${_pybasever}/config-${_pybasever}m-${CARCH}-linux-gnu/libpython${_pybasever}m.so" # Fix pycairo build ln -sf python${_pybasever}m-config "${pkgdir}/usr/bin/python${_pybasever}-config" # Clean-up reference to build directory - sed -i "s|$srcdir/Python-${pkgver}:||" "$pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m-x86_64-linux-gnu/Makefile" + sed -i "s|$srcdir/Python-${pkgver}:||" "$pkgdir/usr/lib/python${_pybasever}/config-${_pybasever}m-${CARCH}-linux-gnu/Makefile" # License install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"