void-packages/srcpkgs/android-file-transfer-linux/template

31 lines
975 B
Bash

# Template file for 'android-file-transfer-linux'
pkgname=android-file-transfer-linux
version=4.3
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIB=1"
hostmakedepends="qt5-qmake qt5-host-tools ninja pkg-config"
makedepends="file-devel fuse-devel qt5-devel readline-devel
qt5-tools-devel"
depends="qt5-svg android-file-transfer-linux-cli android-file-transfer-linux-libs"
short_desc="Android File Transfer for Linux"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/whoozle/android-file-transfer-linux"
distfiles="https://github.com/whoozle/android-file-transfer-linux/archive/v${version}.tar.gz"
checksum=8ff658630fc820a7ca0b70025aa47d235b7fb64f5cb6a72ca76a7acbf3435128
android-file-transfer-linux-libs_package() {
short_desc+=" - library"
pkg_install() {
vmove usr/lib/*
}
}
android-file-transfer-linux-cli_package() {
short_desc+=" - cli tools"
pkg_install() {
vmove usr/bin/aft-mtp-*
}
}