summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28fd49fc1db23e6fb208c60256ea6d8babd8c9ae (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
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
pkgname=sofia-sip
pkgver=1.12.11
pkgrel=4
pkgdesc="An open-source SIP User-Agent library"
arch=('x86_64' 'i686')
url="http://sofia-sip.sourceforge.net"
options=('zipman')
license=('LGPL')
depends=('glib2' 'openssl')
source=(http://downloads.sourceforge.net/sofia-sip/${pkgname}-${pkgver}.tar.gz
	0001-fix-buggy-loop-hack.patch)
md5sums=('f3582c62080eeecd3fa4cd5d4ccb4225'
         'ad26f31dec412906443823f10e2fdab0')

prepare() {
  cd $pkgname-$pkgver
  patch -p1 -N -b -z .orig <../0001-fix-buggy-loop-hack.patch
}

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --with-openssl
  make
}

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