Advertisement
Guest User

vorbis-tools-svn PKGBUILD

a guest
Jan 30th, 2015
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.84 KB | None | 0 0
  1. pkgname=vorbis-tools-svn
  2. pkgver=19442
  3. pkgrel=1
  4. arch=('x86_64' 'i686')
  5. pkgdesc="Extra tools for Ogg-Vorbis"
  6. url="http://www.xiph.org/vorbis"
  7. license=('GPL2')
  8. depends=('libao>=1.0.0' 'libvorbis' 'curl>=7.16.2')
  9. makedepends=('subversion')
  10. provides=('vorbis-tools=1.4.0')
  11. conflicts=('vorbis-tools')
  12.  
  13. _svnmod=vorbis-tools
  14. source=('svn+http://svn.xiph.org/trunk/vorbis-tools/')
  15.  
  16. pkgver() {
  17.   cd "$_svnmod"
  18.   svnversion
  19. }
  20.  
  21. build() {
  22.   cd "$srcdir"
  23.  
  24.   rm -rf "$srcdir/$_svnmod-build"
  25.   cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
  26.  
  27.   cd "$srcdir/$_svnmod-build"
  28.   ./autogen.sh --prefix=/usr --without-speex --enable-vcut
  29.   ./configure --prefix=/usr  --without-speex --enable-vcut
  30.  
  31.   make
  32. }
  33.  
  34. package() {
  35.   cd "$srcdir/$_svnmod-build"
  36.   make DESTDIR="$pkgdir/" install
  37.  
  38.   rm -rf "$srcdir/$_svnmod-build"
  39. }
  40. sha1sums=('SKIP')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement