blob: 469c457a0340f32232ebabcd35b2c264a61f1491 (
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
|
# Maintainer (Arch): Boohbah <boohbah at gmail.com>
# Contributor (Arch): naxuroqa <naxuroqa at gmail.com>
pkgname=tox-git
pkgver=r3071.g979b4bf
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
}
|