32 lines
898 B
Bash
32 lines
898 B
Bash
# Template file for 'toxcore-git'
|
|
pkgname="toxcore-git"
|
|
version="20150313"
|
|
revision=3
|
|
_commithash="4ad76497881ee2a623acdedcf0ac10406208b716"
|
|
short_desc="Encrypted peer-to-peer instant messenger protocol library"
|
|
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
|
|
license="GPL-3"
|
|
homepage="https://tox.im"
|
|
makedepends="libsodium-devel opus-devel libvpx-devel"
|
|
hostmakedepends="autoconf automake libtool pkg-config"
|
|
distfiles="https://github.com/irungentoo/toxcore/archive/${_commithash}.tar.gz"
|
|
checksum="97087e7080267f2e27ffca125a507cd76173718242e31b8ca776cf313ad9d421"
|
|
wrksrc="toxcore-${_commithash}"
|
|
build_style="gnu-configure"
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
# Development package
|
|
toxcore-devel-git_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|