summaryrefslogtreecommitdiff
path: root/pcr/belle-sip/PKGBUILD
blob: fea5cc948dab13b9ba1c5e303d1c275ed714ceb3 (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
# Maintainer: David P. <megver83@parabola.nu>

pkgname=belle-sip
pkgver=4.4.9
pkgrel=1
pkgdesc='A modern library implementing SIP (RFC3261) transport, transaction and dialog layers'
arch=(x86_64 i686)
url='http://linphone.org/'
license=(GPL)
depends=(avahi bctoolbox)
makedepends=(cmake)
options=('!emptydirs')
source=("https://gitlab.linphone.org/BC/public/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('5b6272fee2683d64acfff3667fbaecdaee32ae3b26270d71307831c6859c7c9f')

build() {
  cd "$pkgname-$pkgver"

  cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DENABLE_STATIC=NO \
        -DENABLE_MDNS=YES \
        -DENABLE_STRICT=YES \
        -DENABLE_TESTS=NO .
  make
}

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