summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d88f07c8dbf781478644fbfc098ed09735b0c5e2 (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: Brian Bidulock <bidulock@openss7.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Darwin Bautista <djclue917@gmail.com>

pkgname=libexosip2
epoch=1
pkgver=5.1.0
pkgrel=1
pkgdesc="A library that hides the complexity of using SIP for multimedia session establishement"
arch=('x86_64' 'i686')
url="https://savannah.nongnu.org/projects/exosip/"
license=('GPL')
depends=('libosip2>=5.1.0' 'openssl')
validpgpkeys=('34C3985D068879312FE23C8BB5902A3AD90A5421')
source=(https://download.savannah.gnu.org/releases/exosip/libexosip2-$pkgver.tar.gz)
sha256sums=('41107e5bd6dca50899b7381f7f68bfd9ae8df584c534c8a4c9ca668b66a88a4b')

build() {
  cd "$srcdir/libexosip2-${pkgver}"
  ./configure --prefix=/usr
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  make
}

package() {
  cd "$srcdir/libexosip2-${pkgver}"
  make DESTDIR="$pkgdir" install
}