Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- PKGBUILD 2013-12-07 11:52:29.000000000 -0600
- +++ PKGBUILD_FIX 2013-12-30 22:28:12.637006715 -0600
- @@ -69,6 +69,19 @@
- ln -s /usr/lib/libssl.so "${pkgdir}/usr/share/spotify/libs/libssl.so.0.9.8"
- ln -s /usr/lib/libcrypto.so "${pkgdir}/usr/share/spotify/libs/libcrypto.so.0.9.8"
- + # libgcrypt needs to be < 1.6
- + if [ $(pacman -Q libgcrypt|cut -d" " -f2|tr -d .-) -ge 1600 ]; then
- + echo -n " Checking for supported version of libgcrypt ..."
- + OLD_GCRYPT=$(find /var/cache/pacman/pkg/ -name 'libgcrypt-1.5*'|tail -1)
- + if [ "$OLD_GCRYPT" != "" ]; then
- + echo "using $OLD_GCRYPT"
- + tar -C "${srcdir}" -xJf $OLD_GCRYPT usr/lib/
- + mv "${srcdir}/usr/lib/libgcrypt"* "${pkgdir}/usr/share/spotify/libs"
- + else
- + echo "failed. This build of Spotify probably won't work."
- + fi
- + fi
- +
- # Copy license
- install -Dm644 "${pkgdir}/usr/share/doc/${pkgname}-client/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/copyright"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement