blob: aadc421772cce75835a8e9c800ac31e1600ea93b (
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
51
|
# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
pkgname=ring-daemon-git
pkgver=20171201
pkgrel=1
pkgdesc="ring.cx is free software for universal communication which respects freedoms and privacy of its users (formerly known as SFLphone)"
arch=("i686" "x86_64")
url="https://ring.cx"
license=('GPL3')
groups=("ring")
depends=('opendht' 'yaml-cpp' 'alsa-lib' 'libpulse' 'jack' 'jsoncpp'
'libsamplerate' 'libsndfile' 'dbus-c++' 'ffmpeg' 'udev' 'gnutls'
'expat' 'gsm' 'libupnp' 'libnatpmp' 'crypto++' 'libva' 'boost-libs'
'libvdpau' 'pjproject-savoirfairelinux' 'restbed' 'libsecp256k1')
makedepends=('git' 'boost' 'msgpack-c')
conflicts=('ring-daemon')
provides=('ring-daemon')
source=("git+https://gerrit-ring.savoirfairelinux.com/ring-daemon")
md5sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git log -1 --format="%cd" --date=short | sed "s|-||g"
}
build() {
cd "${pkgname%-git}"
msg2 'Building...'
autoreconf --force --install --verbose
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/bin \
--sysconfdir=/etc \
--with-contrib="no" \
--enable-ipv6
DISABLE_CONTRIB_DOWNLOADS="TRUE" make
}
package() {
cd "${pkgname%-git}"
msg2 'Installing...'
DISABLE_CONTRIB_DOWNLOADS="TRUE" make DESTDIR="$pkgdir" install
msg2 'Cleaning up pkgdir...'
find "$pkgdir" -type d -name .git -exec rm -r '{}' +
find "$pkgdir" -type f -name .gitignore -exec rm -r '{}' +
}
# vim:set ts=2 sw=2 et:
|