summaryrefslogtreecommitdiff
path: root/pcr/belle-sip/PKGBUILD
blob: 3d5d1768a132f7d334b5c852f63b7b74d6e20ded (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.0
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=('4f9218b0bbf55c2f68d70a0e83779e591ef9fe97f1caf7550768ea192ee34cee')

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
}