summaryrefslogtreecommitdiff
path: root/community/gst-editing-services/PKGBUILD
blob: c7c38a5635539af47445573683213c8ede7a659e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 98225 2013-10-07 15:51:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
# Contributor: Kerrick Staley <mail@kerrickstaley.com>
# Contributor: Thijs Vermeir <thijsvermeir@gmail.com>

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')
options=('!libtool')
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
}