void-packages/srcpkgs/libktorrent/template

24 lines
791 B
Bash

# Template file for 'libktorrent'
pkgname=libktorrent
version=2.0.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python doxygen"
makedepends="qt5-devel karchive-devel ksolid-devel kio-devel ki18n-devel kcrash-devel gmp-devel qca-qt5-devel"
short_desc="A BitTorrent protocol implementation"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://ktorrent.pwsp.net"
distfiles="http://mirror.netcologne.de/gentoo/distfiles/${pkgname}-${version}.tar.xz"
checksum=c70d9ee11a1ac95145284e2ab9aec689df21b7462f389389b8d54f892a273f42
nocross="fails to detect qca-qt5"
libktorrent-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}