desktop/android-file-transfer-linux/PKGBUILD

30 lines
945 B
Bash

pkgname=android-file-transfer-linux
pkgver=3.7
pkgrel=1
pkgdesc="An interactive MTP client implemented in C++ using Qt toolkit"
arch=('x86_64')
url="https://github.com/whoozle/android-file-transfer-linux"
license=('LGPL')
depends=('qt5-base' 'fuse2' 'hicolor-icon-theme' 'libxkbcommon-x11' 'file')
makedepends=('cmake')
source=("https://github.com/whoozle/android-file-transfer-linux/archive/v$pkgver.tar.gz"
'solid_aftl.desktop')
sha256sums=('fe736cb24a8785ff0236728dc0c3446ba006ae72f7e65ce17dd20dadcaf7f851'
'743a0099e38fd82443b51434b65e65f0a64b2791bd2af89392f4f4d991c3bfc9')
build() {
cd "$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
# added plasma5 integration
install -D ../../solid_aftl.desktop $pkgdir/usr/share/solid/actions/solid_aftl.desktop
}