summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e1982c56526a037f773cdb46eb7ff3173a243af (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
42
43
# Maintainer : Immae <ismael.bouya@normalesup.org>
# Contributor : AdrianoML

pkgname=vorbis-tools-svn
pkgver=19492
pkgrel=1
arch=('x86_64' 'i686')
pkgdesc="Extra tools for Ogg-Vorbis"
url="http://www.xiph.org/vorbis"
license=('GPL2')
depends=('libao>=1.0.0' 'libvorbis' 'curl>=7.16.2')
makedepends=('subversion')
provides=('vorbis-tools=1.4.0')
conflicts=('vorbis-tools')

_svnmod=vorbis-tools
source=('svn+http://svn.xiph.org/trunk/vorbis-tools/')

pkgver() {
  cd "$_svnmod"
  svnversion
}

build() {
  cd "$srcdir"

  rm -rf "$srcdir/$_svnmod-build"
  cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"

  cd "$srcdir/$_svnmod-build"
  ./autogen.sh --prefix=/usr --without-speex --enable-vcut
  ./configure --prefix=/usr  --without-speex --enable-vcut

  make
}

package() {
  cd "$srcdir/$_svnmod-build"
  make DESTDIR="$pkgdir/" install

  rm -rf "$srcdir/$_svnmod-build"
}
sha1sums=('SKIP')