32 lines
890 B
Bash
32 lines
890 B
Bash
# Template file for 'toxcore-git'
|
|
pkgname="toxcore-git"
|
|
version="20160118"
|
|
revision=1
|
|
_commithash="b9ef24875ce1d9bf5f04f0164ae95f729330a295"
|
|
short_desc="Encrypted peer-to-peer instant messenger protocol library"
|
|
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
|
license="GPL-3"
|
|
homepage="https://tox.chat"
|
|
makedepends="libsodium-devel opus-devel libvpx-devel"
|
|
hostmakedepends="autoconf automake libtool pkg-config"
|
|
distfiles="https://github.com/irungentoo/toxcore/archive/${_commithash}.tar.gz"
|
|
checksum=1c3e4824ac273878e1624c766dfb6119623086306f96f609cb73d3abed3321c2
|
|
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
|
|
}
|
|
}
|
|
|