# Maintainer (Arch): Boohbah # Contributor (Arch): naxuroqa pkgname=tox-git pkgver=r3076.gdd51e03 pkgrel=1 pkgdesc="A FOSS instant messaging application aimed to replace Skype (git version)" arch=('i686' 'x86_64') url="https://tox.im/" license=('GPL3') depends=('libconfig' 'libsodium' 'libvpx' 'opus') makedepends=('check' 'git') conflicts=('tox') provides=('tox') source=("${pkgname}::git+https://github.com/irungentoo/toxcore") md5sums=('SKIP') pkgver() { cd "${pkgname}" printf "r%s.g%s" \ "$(git rev-list --count HEAD)" \ "$(git rev-parse --short HEAD)" } build() { cd "${pkgname}" autoreconf -i ./configure \ --prefix="/usr" \ --enable-daemon \ --disable-ntox \ --disable-tests make } check() { cd "${pkgname}" make check } package() { cd "${pkgname}" make DESTDIR="${pkgdir}" install }