# $Id: PKGBUILD 111877 2011-03-01 15:02:05Z ibiru $ # Maintainer: Ionut Biru # Contributor: William Díaz pkgname=farsight2 pkgver=0.0.26 pkgrel=1 pkgdesc="Audio/Video conference software for Instant Messengers" arch=('i686' 'x86_64') url="http://farsight.freedesktop.org" license=('LGPL') depends=('libnice' 'gstreamer0.10-base-plugins' 'gstreamer0.10-python' 'python2' 'pygobject') optdepends=('gstreamer0.10-good-plugins: for RTP plugin' 'gstreamer0.10-bad-plugins: for RTP plugin') options=('!libtool' '!emptydirs') source=(http://farsight.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz) md5sums=('7756d910687dd2abd455fd68e83f125c') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i -e 's#python-config#python2-config#' python/Makefile.in ./configure --prefix=/usr \ --with-package-name='Arch Linux farsight2 package' \ --with-package-origin='http://archlinux.org' \ --disable-static \ --disable-valgrind \ --disable-debug make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR=${pkgdir} install }