# $Id: PKGBUILD 99789 2013-10-30 23:43:42Z allan $ # Maintainer: Sergej Pupykin # Maintainer: Lubosz Sarnecki # Contributor: Kerrick Staley # Contributor: Thijs Vermeir pkgname=gst-editing-services pkgver=1.1.90.1.1774.fb6aabf pkgrel=1 pkgdesc='GStreamer editing services (Git version)' arch=('i686' 'x86_64') license=('LGPL') url='http://gstreamer.freedesktop.org/modules/gst-editing-services.html' depends=('gst-plugins-base') makedepends=('git' 'intltool' 'pkgconfig' 'gtk-doc' 'gobject-introspection') source=('git://anongit.freedesktop.org/gstreamer/gst-editing-services') sha256sums=('SKIP') pkgver() { cd $srcdir/gst-editing-services version=$(grep AC_INIT configure.ac | sed 's/AC_INIT(GStreamer Editing Services, //' | sed 's/,//') hash=$(git log --pretty=format:'%h' -n 1) revision=$(git rev-list --count HEAD) echo $version.$revision.$hash } build() { cd $srcdir/gst-editing-services ./autogen.sh --prefix=/usr make } package() { cd $srcdir/gst-editing-services make DESTDIR="$pkgdir" install }