Date: Tuesday, November 10, 2015 @ 13:38:40 Author: foutrelis Revision: 146487
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: toxcore/repos/community-staging-i686/ toxcore/repos/community-staging-i686/PKGBUILD (from rev 146486, toxcore/trunk/PKGBUILD) toxcore/repos/community-staging-i686/toxcore.conf (from rev 146486, toxcore/trunk/toxcore.conf) toxcore/repos/community-staging-i686/toxcore.install (from rev 146486, toxcore/trunk/toxcore.install) toxcore/repos/community-staging-x86_64/ toxcore/repos/community-staging-x86_64/PKGBUILD (from rev 146486, toxcore/trunk/PKGBUILD) toxcore/repos/community-staging-x86_64/toxcore.conf (from rev 146486, toxcore/trunk/toxcore.conf) toxcore/repos/community-staging-x86_64/toxcore.install (from rev 146486, toxcore/trunk/toxcore.install) ------------------------------------------+ community-staging-i686/PKGBUILD | 60 +++++++++++++++++++++++++++++ community-staging-i686/toxcore.conf | 2 community-staging-i686/toxcore.install | 11 +++++ community-staging-x86_64/PKGBUILD | 60 +++++++++++++++++++++++++++++ community-staging-x86_64/toxcore.conf | 2 community-staging-x86_64/toxcore.install | 11 +++++ 6 files changed, 146 insertions(+) Copied: toxcore/repos/community-staging-i686/PKGBUILD (from rev 146486, toxcore/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-11-10 12:38:40 UTC (rev 146487) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Håvard Pettersson <m...@haavard.me> +# Contributor: naxuroqa <naxuroqa at gmail.com> +# Contributor: Boohbah <boohbah at gmail.com> +# Contributor: Kevin MacMartin <prurigro at gmail dot com> + +pkgname=toxcore +pkgver=3638 +_commit=6a494e2cbdd146bb13185d8220061322661a5f5a +pkgrel=2 +pkgdesc='Secure, configuration-free, P2P Skype replacement backend' +arch=('i686' 'x86_64') +url='https://tox.chat' +license=('GPL3') +depends=('systemd' 'libconfig' 'libsodium' 'libvpx' 'opus') +makedepends=('git' 'check') +conflicts=("tox") +provides=("tox") +backup=('etc/tox-bootstrapd.conf') +install=$pkgname.install +source=("git+https://github.com/irungentoo/toxcore.git#commit=$_commit" + 'toxcore.conf') +sha512sums=('SKIP' + '71885e69f7b84955f6bdbf27b9e8196349cdd254b02b510433851bd218374d9c47aa7d3946dcc6a5cff6c8e705bc98d8a09de27039f60b8b088784cf8fa9d719') + +pkgver() { + cd $pkgname + git rev-list --count HEAD +} + +prepare() { + cd $pkgname + sed -i "s|/usr/local|/usr|" other/bootstrap_daemon/tox-bootstrapd.service +} + +build() { + cd $pkgname + autoreconf -if + ./configure \ + --prefix=/usr \ + --enable-daemon \ + --disable-ntox \ + --enable-tests + make +} + +check() { + cd $pkgname + # Tests hang as of 3638 + # make check || warning "Tests failed" +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir/toxcore.conf" "$pkgdir/usr/lib/sysusers.d/toxcore.conf" + install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.service "$pkgdir/usr/lib/systemd/system/tox-bootstrapd.service" + install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.conf "$pkgdir/etc/tox-bootstrapd.conf" +} Copied: toxcore/repos/community-staging-i686/toxcore.conf (from rev 146486, toxcore/trunk/toxcore.conf) =================================================================== --- community-staging-i686/toxcore.conf (rev 0) +++ community-staging-i686/toxcore.conf 2015-11-10 12:38:40 UTC (rev 146487) @@ -0,0 +1,2 @@ +u tox-bootstrapd - "Tox bootstrapd" +g tox-bootstrapd - \ No newline at end of file Copied: toxcore/repos/community-staging-i686/toxcore.install (from rev 146486, toxcore/trunk/toxcore.install) =================================================================== --- community-staging-i686/toxcore.install (rev 0) +++ community-staging-i686/toxcore.install 2015-11-10 12:38:40 UTC (rev 146487) @@ -0,0 +1,11 @@ +post_install() { + systemd-sysusers toxcore.conf + [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o tox-bootstrapd -g tox-bootstrapd var/lib/tox-bootstrapd +} + +post_upgrade() { + (( $(vercmp $2 '3523-3') < 0 )) && ( + systemd-sysusers toxcore.conf + [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o tox-bootstrapd -g tox-bootstrapd var/lib/tox-bootstrapd + ) || true +} Copied: toxcore/repos/community-staging-x86_64/PKGBUILD (from rev 146486, toxcore/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-11-10 12:38:40 UTC (rev 146487) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Håvard Pettersson <m...@haavard.me> +# Contributor: naxuroqa <naxuroqa at gmail.com> +# Contributor: Boohbah <boohbah at gmail.com> +# Contributor: Kevin MacMartin <prurigro at gmail dot com> + +pkgname=toxcore +pkgver=3638 +_commit=6a494e2cbdd146bb13185d8220061322661a5f5a +pkgrel=2 +pkgdesc='Secure, configuration-free, P2P Skype replacement backend' +arch=('i686' 'x86_64') +url='https://tox.chat' +license=('GPL3') +depends=('systemd' 'libconfig' 'libsodium' 'libvpx' 'opus') +makedepends=('git' 'check') +conflicts=("tox") +provides=("tox") +backup=('etc/tox-bootstrapd.conf') +install=$pkgname.install +source=("git+https://github.com/irungentoo/toxcore.git#commit=$_commit" + 'toxcore.conf') +sha512sums=('SKIP' + '71885e69f7b84955f6bdbf27b9e8196349cdd254b02b510433851bd218374d9c47aa7d3946dcc6a5cff6c8e705bc98d8a09de27039f60b8b088784cf8fa9d719') + +pkgver() { + cd $pkgname + git rev-list --count HEAD +} + +prepare() { + cd $pkgname + sed -i "s|/usr/local|/usr|" other/bootstrap_daemon/tox-bootstrapd.service +} + +build() { + cd $pkgname + autoreconf -if + ./configure \ + --prefix=/usr \ + --enable-daemon \ + --disable-ntox \ + --enable-tests + make +} + +check() { + cd $pkgname + # Tests hang as of 3638 + # make check || warning "Tests failed" +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir/toxcore.conf" "$pkgdir/usr/lib/sysusers.d/toxcore.conf" + install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.service "$pkgdir/usr/lib/systemd/system/tox-bootstrapd.service" + install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.conf "$pkgdir/etc/tox-bootstrapd.conf" +} Copied: toxcore/repos/community-staging-x86_64/toxcore.conf (from rev 146486, toxcore/trunk/toxcore.conf) =================================================================== --- community-staging-x86_64/toxcore.conf (rev 0) +++ community-staging-x86_64/toxcore.conf 2015-11-10 12:38:40 UTC (rev 146487) @@ -0,0 +1,2 @@ +u tox-bootstrapd - "Tox bootstrapd" +g tox-bootstrapd - \ No newline at end of file Copied: toxcore/repos/community-staging-x86_64/toxcore.install (from rev 146486, toxcore/trunk/toxcore.install) =================================================================== --- community-staging-x86_64/toxcore.install (rev 0) +++ community-staging-x86_64/toxcore.install 2015-11-10 12:38:40 UTC (rev 146487) @@ -0,0 +1,11 @@ +post_install() { + systemd-sysusers toxcore.conf + [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o tox-bootstrapd -g tox-bootstrapd var/lib/tox-bootstrapd +} + +post_upgrade() { + (( $(vercmp $2 '3523-3') < 0 )) && ( + systemd-sysusers toxcore.conf + [[ -d var/lib/tox-bootstrapd ]] || install -dm 750 -o tox-bootstrapd -g tox-bootstrapd var/lib/tox-bootstrapd + ) || true +}