summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 692f5a27f64e642e3790cad504c8ab49e2601b3e (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
# Maintainer: Guillaume Horel <guillaume.horel@gmail.com>

pkgname=belle-sip
pkgver=5.3.5
pkgrel=1
pkgdesc="A Voice-over-IP phone"
arch=('x86_64')
url="https://github.com/BelledonneCommunications/belle-sip/"
license=('GPL3')
depends=('avahi' 'belr' "bctoolbox>=$pkgver")
makedepends=('cmake')
options=('!emptydirs')
source=("$pkgname-$pkgver.tar.gz::https://github.com/BelledonneCommunications/belle-sip/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('304c00f321af78e1617e7cc8213f3d57a5b39d6be4b4461711df0e6bc9b6d47a')

build() {
  cmake -B build "$pkgname-$pkgver" \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DBUILD_SHARED_LIBS=YES \
        -DENABLE_MDNS=YES \
        -DENABLE_STRICT=YES \
        -DENABLE_UNIT_TESTS=NO
  make -C build
}

package() {
  make DESTDIR="$pkgdir" -C build install
}