Use CARCH instead of x86_64

This commit is contained in:
Tobias Kunze 2018-08-01 20:15:29 +02:00
parent fc201f0a3d
commit e35a466788
1 changed files with 2 additions and 2 deletions

View File

@ -60,13 +60,13 @@ package() {
# Fix FS#22552 # Fix FS#22552
ln -sf ../../libpython${_pybasever}m.so \ 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 # Fix pycairo build
ln -sf python${_pybasever}m-config "${pkgdir}/usr/bin/python${_pybasever}-config" ln -sf python${_pybasever}m-config "${pkgdir}/usr/bin/python${_pybasever}-config"
# Clean-up reference to build directory # 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 # License
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"