summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c54b9acb49781a69c1a21be298139ed6b17c06f (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
38
39
40
41
# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
# Original Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Robert Emil Berge <filoktetes@linuxophic.org>
# Contributor: Mateusz Herych <heniekk@gmail.com>

pkgname=gavl-svn
pkgver=1.4.0.4061 
pkgrel=1
pkgdesc='A low level library, upon which multimedia APIs can be built.'
arch=('i686' 'x86_64')
url='http://gmerlin.sourceforge.net/'
license=('GPL')
conflicts=('gavl')
provides=('gavl='$pkgver)
depends=('glibc')
options=('!libtool')

source=("svn://svn.code.sf.net/p/gmerlin/code/trunk/gavl/")
md5sums=('SKIP')

pkgver() {
  cd gavl

  version=$(grep AM_INIT_AUTOMAKE configure.ac | sed 's/AM_INIT_AUTOMAKE(gavl, //' | sed 's/)//')
  revision=$(svnversion | tr -d [A-z])
  
  echo $version.$revision
}

build() {
  cd gavl
  #export CFLAGS="-g3 -O0"
  ./autogen.sh
  ./configure --prefix=/usr --without-doxygen --with-cpuflags=none
  make
}

package() {
  cd gavl
  make DESTDIR="$pkgdir" install
}