blob: 86a65762315721a874803bbb19cabee2bf47f456 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: freaj <freaj@riseup.net>
# Maintainer (Arch): Kevin MacMartin <prurigro at gmail dot com>
# Contributor (Arch): Boohbah <boohbah at gmail.com>
# Contributor (Arch): naxuroqa <naxuroqa at gmail.com>
_pkgname=tox
pkgname=$_pkgname-git
pkgver=r3153.6c37f49
pkgrel=2
pkgdesc='Secure, configuration-free, P2P Skype replacement backend'
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url='https://tox.im'
license=('GPL3')
depends=('libsodium' 'opus' 'libvpx')
makedepends=('git' 'check')
optdepends=('qtox-git: qt-based frontend'
'utox-git: lightweight tox client'
'toxic-git: ncurses-based frontend')
conflicts=("$_pkgname")
provides=("$_pkgname")
replaces=("$_pkgname")
source=("$_pkgname::git+https://github.com/irungentoo/toxcore.git")
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgname
./autogen.sh
./configure \
--prefix=/usr \
--enable-daemon \
--enable-ntox \
--disable-tests
make
}
check() {
cd $_pkgname
make check
}
package() {
cd $_pkgname
make DESTDIR="$pkgdir" install
}
|