PKGBUILDs/aur/libvorbisidec-svn/PKGBUILD

36 lines
878 B
Bash
Raw Normal View History

2011-06-01 23:03:38 +00:00
# Maintainer: evnu <mamuelle@informatik.hu-berlin.de>
pkgname=libvorbisdec-svn
pkgver=17636
pkgrel=1
2011-06-02 11:05:22 +00:00
pkgdesc="Tremor is a fixed-point version of the Ogg Vorbis decoder for those platforms that can't do floating point math. It can be installed with libvorbis together"
2011-06-01 23:03:38 +00:00
arch=('arm')
url="http://wiki.xiph.org/index.php/Tremor"
license=('GPL')
depends=('libogg')
makedepends=('subversion' 'autoconf' 'automake')
source=()
md5sums=()
_svntrunk="http://svn.xiph.org/trunk/Tremor/"
_svnmod=Tremor
build() {
cd $srcdir
if [ -d "${_svnmod}"/.svn ]
then
msg "Starting SVN update ..."
cd "${_svnmod}"
svn up
msg "... updating finished."
else
msg "Starting SVN checkout ..."
svn co ${_svntrunk}
msg "... checkout finished."
fi
cd $srcdir/${_svnmod}
2011-06-02 11:05:22 +00:00
./autogen.sh --prefix=/usr/
2011-06-01 23:03:38 +00:00
make || return 1
2011-06-02 11:05:22 +00:00
make DESTDIR=${pkgdir} install || return 1
2011-06-01 23:03:38 +00:00
}