toxcore-git: Update to 20160131

This commit is contained in:
Spencer Hill 2016-01-21 21:58:07 -05:00
parent 92c6000d15
commit 08044f844f
2 changed files with 14 additions and 4 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
cd /etc/toxbootstrapd
exec chpst -u toxbootstrapd DHT_bootstrap

View file

@ -1,8 +1,8 @@
# Template file for 'toxcore-git'
pkgname="toxcore-git"
version="20160118"
version="20160131"
revision=1
_commithash="b9ef24875ce1d9bf5f04f0164ae95f729330a295"
_commithash="94cc8b11ff473064526737936f64b6f9a19c239d"
short_desc="Encrypted peer-to-peer instant messenger protocol library"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="GPL-3"
@ -10,14 +10,22 @@ 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
checksum=4df62a3488429f0b1adbf24312dc39eb140bae88774124072400930967888d19
wrksrc="toxcore-${_commithash}"
build_style="gnu-configure"
configure_args="--enable-daemon"
system_accounts="toxbootstrapd"
toxbootstrapd_homedir="/etc/toxbootstrapd"
make_dirs="/etc/toxbootstrapd 0700 toxbootstrapd toxbootstrapd"
pre_configure() {
./autogen.sh
}
post_install() {
vsv toxbootstrapd
}
# Development package
toxcore-devel-git_package() {
short_desc+=" - development files"
@ -28,4 +36,3 @@ toxcore-devel-git_package() {
vmove usr/lib/pkgconfig
}
}