vp-build/srcpkgs/toxcore/template

28 lines
866 B
Bash

# Template file for 'toxcore'
pkgname=toxcore
version=0.2.1
revision=2
configure_args="-DMUST_BUILD_TOXAV=ON -DBUILD_TOXAV=ON -DDHT_BOOTSTARP=ON
-DBOOTSTRAP=DAEMON=ON -DBUILD_AV_TEST=OFF"
build_style=cmake
wrksrc="c-toxcore-${version}"
hostmakedepends="pkg-config"
makedepends="libsodium-devel opus-devel libvpx-devel"
short_desc="Encrypted peer-to-peer instant messenger protocol library"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://tox.chat"
distfiles="https://github.com/TokTok/c-toxcore/archive/v${version}.tar.gz"
checksum=1496164954941b175493fba02bf3115118c0d29feb46cd1ff458a1a11eab1597
# Development package
toxcore-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
}
}