Index: PKGBUILD =================================================================== --- PKGBUILD (revision 695951) +++ PKGBUILD (working copy) @@ -3,7 +3,7 @@ pkgname=android-file-transfer pkgver=3.9 -pkgrel=2 +pkgrel=3 pkgdesc='Android MTP client with minimalistic UI' arch=(x86_64) url='https://github.com/whoozle/android-file-transfer-linux' @@ -10,9 +10,19 @@ license=(GPL3) depends=(qt5-base fuse2 libxkbcommon-x11 hicolor-icon-theme file) makedepends=(cmake) -source=(android-file-transfer-$pkgver.tar.gz::https://github.com/whoozle/android-file-transfer-linux/archive/v$pkgver.tar.gz) -sha256sums=('26aa21683ae34aceaf83747fec693a15b996017a857014931ef3c5b50115971a') +source=(android-file-transfer-$pkgver.tar.gz::https://github.com/whoozle/android-file-transfer-linux/archive/v$pkgver.tar.gz + linux54-fix.patch::https://github.com/whoozle/android-file-transfer-linux/commit/a24ef2e5ad12574ee6370011184799e4bbcf59af.patch) +sha256sums=('26aa21683ae34aceaf83747fec693a15b996017a857014931ef3c5b50115971a' + '10eea915649d68fd702be021112147ac0598d8172a17f6bfc50fce34f2a991f2') +prepare() { + cd android-file-transfer-linux-$pkgver + + # FS#67776 + # https://github.com/whoozle/android-file-transfer-linux/issues/231 + patch -p1 < ../linux54-fix.patch +} + build() { cd android-file-transfer-linux-$pkgver cmake -DCMAKE_INSTALL_PREFIX=/usr .