updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / libre / PKGBUILD
blobcdd0eb0f33b1b542218984467eb50895cec3ac13
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Luka Perkov <archlinux <at> lukaperkov <dOt> net>
4 _name=re
5 pkgname=libre
6 pkgver=0.4.0
7 pkgrel=1
8 pkgdesc="A library for real-time communications with async IO support, a complete SIP stack with support for SDP, RTP/RTCP, STUN/TURN/ICE and DNS Client"
9 arch=('i686' 'x86_64')
10 url="http://www.creytiv.com/"
11 license=('BSD')
12 depends=('openssl')
13 source=("http://www.creytiv.com/pub/$_name-$pkgver.tar.gz")
14 md5sums=('77469714212b40ec7f224ad8648f91d2')
16 build() {
17   cd "$srcdir/$_name-$pkgver"
18   make
21 package() {
22   cd "$srcdir/$_name-$pkgver"
23   make DESTDIR="$pkgdir" install
25   # license
26   install -Dm644 docs/COPYING \
27     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
29   # fix permission for static lib
30   chmod 644 "$pkgdir/usr/lib/$pkgname.a"
32   # add missing include
33   sed -i '7a#include <stdint.h>' \
34     "$pkgdir/usr/include/re/re_types.h"