31 lines
896 B
Bash
31 lines
896 B
Bash
# Template file for 'toxcore-git'
|
|
pkgname="toxcore-git"
|
|
version="20150604"
|
|
revision=1
|
|
_commithash="c259250abb86a01ae7e3fc906380417427f38ca1"
|
|
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=22180cb14302a3c25b089b84cab85a2f55a45f8c81a48bff4aa3897d4ad92c87
|
|
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
|
|
}
|
|
}
|
|
|