diff --git a/PKGBUILD b/PKGBUILD index d2828fa..7768565 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=sendanywhere pkgver=9.3.5 -pkgrel=1 +pkgrel=1.1 arch=('x86_64') pkgdesc="Send Anywhere is a multi-platform file sharing service where users can directly share digital content in real time." @@ -12,9 +12,12 @@ url="http://send-anywhere.com" license=('custom') depends=('gconf' 'libxtst' 'nss' 'libxss' 'alsa-lib' 'gtk2') -source=("${pkgname}-${pkgver}.deb::https://update.send-anywhere.com/linux_downloads/sendanywhere_latest_amd64.deb" "LICENSE") +source=("${pkgname}-${pkgver}.deb::https://update.send-anywhere.com/linux_downloads/sendanywhere_latest_amd64.deb" + "LICENSE" + "https://archive.archlinux.org/packages/p/pango/pango-1%3A1.43.0-2-x86_64.pkg.tar.xz") sha512sums=('ae3799a2822284dedeff3e48bbab8cae9407abe98eb96e91e701261b266e000428be25daf322d0ebde55f0393986bc83e89efed3d36c67f3d0163641c1f9af9f' - 'aeb97a12f246d78cbf202354148b429a037997d68087bceed5d5ce5036443d779c2535138b54347579ddf05994a61b9333913f9261733f367d02e0e9cf7d0b5e') + 'aeb97a12f246d78cbf202354148b429a037997d68087bceed5d5ce5036443d779c2535138b54347579ddf05994a61b9333913f9261733f367d02e0e9cf7d0b5e' + '49ed75cd21cf94e17f52702fa8cfffb0ebea71777c2f97e7fdc0205ca6444c65e70f56be185dad6b0492198b968d1125330aab4636a43c95ee928968784c91cf') # If validity check fails, please leave a comment to remind me to update the package version package(){ @@ -26,6 +29,11 @@ package(){ install -Dm644 "$pkgdir/opt/SendAnywhere/LICENSE.electron.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.electron.txt" install -Dm644 "$pkgdir/opt/SendAnywhere/LICENSES.chromium.html" "$pkgdir/usr/share/licenses/$pkgname/LICENSES.chromium.html" + # fix core dump cause by pango 1.44+ + install -Dm644 "$srcdir/usr/lib/libpango-1.0.so.0.4300.0" "$pkgdir/opt/SendAnywhere/libpango-1.0.so.0" + install -Dm644 "$srcdir/usr/lib/libpangocairo-1.0.so.0.4300.0" "$pkgdir/opt/SendAnywhere/libpangocairo-1.0.so.0" + install -Dm644 "$srcdir/usr/lib/libpangoft2-1.0.so.0.4300.0" "$pkgdir/opt/SendAnywhere/libpangoft2-1.0.so.0" + # Create soft link mkdir -p $pkgdir/usr/bin ln -sf "/opt/SendAnywhere/SendAnywhere" "$pkgdir/usr/bin/SendAnywhere"