# $Id: PKGBUILD 500 2009-08-01 11:44:28Z ibiru $ # Maintainer: Andrea Scarpino # Contributor: Biru Ionut # Contributor: William Díaz pkgname=libnice pkgver=0.0.9 pkgrel=1 pkgdesc="An implementation of the IETF's draft ICE (for p2p UDP data streams)" arch=('i686' 'x86_64') url="http://nice.freedesktop.org" license=('LGPL') depends=('gstreamer0.10') makedepends=('pkgconfig') options=('!libtool') source=(http://nice.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz) md5sums=('19ac2565ee7487c1f32487b948110b19') build() { export CFLAGS="$CFLAGS -fno-strict-aliasing" cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --disable-dependency-tracking make || return 1 #make sure that all tests pass make check || return 1 make DESTDIR=${pkgdir} install || return 1 }