mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
toxcore-git: Update to 20160131
This commit is contained in:
parent
92c6000d15
commit
08044f844f
2 changed files with 14 additions and 4 deletions
3
srcpkgs/toxcore-git/files/toxbootstrapd/run
Normal file
3
srcpkgs/toxcore-git/files/toxbootstrapd/run
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
cd /etc/toxbootstrapd
|
||||||
|
exec chpst -u toxbootstrapd DHT_bootstrap
|
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'toxcore-git'
|
# Template file for 'toxcore-git'
|
||||||
pkgname="toxcore-git"
|
pkgname="toxcore-git"
|
||||||
version="20160118"
|
version="20160131"
|
||||||
revision=1
|
revision=1
|
||||||
_commithash="b9ef24875ce1d9bf5f04f0164ae95f729330a295"
|
_commithash="94cc8b11ff473064526737936f64b6f9a19c239d"
|
||||||
short_desc="Encrypted peer-to-peer instant messenger protocol library"
|
short_desc="Encrypted peer-to-peer instant messenger protocol library"
|
||||||
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
@ -10,14 +10,22 @@ homepage="https://tox.chat"
|
||||||
makedepends="libsodium-devel opus-devel libvpx-devel"
|
makedepends="libsodium-devel opus-devel libvpx-devel"
|
||||||
hostmakedepends="autoconf automake libtool pkg-config"
|
hostmakedepends="autoconf automake libtool pkg-config"
|
||||||
distfiles="https://github.com/irungentoo/toxcore/archive/${_commithash}.tar.gz"
|
distfiles="https://github.com/irungentoo/toxcore/archive/${_commithash}.tar.gz"
|
||||||
checksum=1c3e4824ac273878e1624c766dfb6119623086306f96f609cb73d3abed3321c2
|
checksum=4df62a3488429f0b1adbf24312dc39eb140bae88774124072400930967888d19
|
||||||
wrksrc="toxcore-${_commithash}"
|
wrksrc="toxcore-${_commithash}"
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
|
configure_args="--enable-daemon"
|
||||||
|
system_accounts="toxbootstrapd"
|
||||||
|
toxbootstrapd_homedir="/etc/toxbootstrapd"
|
||||||
|
make_dirs="/etc/toxbootstrapd 0700 toxbootstrapd toxbootstrapd"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv toxbootstrapd
|
||||||
|
}
|
||||||
|
|
||||||
# Development package
|
# Development package
|
||||||
toxcore-devel-git_package() {
|
toxcore-devel-git_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
@ -28,4 +36,3 @@ toxcore-devel-git_package() {
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue