# $Id: PKGBUILD 50348 2009-08-25 18:16:54Z jgc $ # Maintainer: Jan de Groot pkgname=gstreamer0.10 pkgver=0.10.24 pkgrel=1 pkgdesc="GStreamer Multimedia Framework" arch=(i686 x86_64) license=('LGPL') url="http://gstreamer.freedesktop.org/" depends=('libxml2>=2.7.3' 'glib2>=2.20.4') makedepends=('intltool' 'pkgconfig' 'gtk-doc') options=('!libtool') source=(${url}/src/gstreamer/gstreamer-${pkgver}.tar.bz2) md5sums=('178d3326c96c360c9a15751bd5d73a6c') build() { cd "${srcdir}/gstreamer-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 cd "${pkgdir}/usr/bin" #Remove unversioned gst-* binaries to get rid of conflicts for bins in `ls *-0.10`; do rm -f ${bins/-0.10/} done }