Date: Tuesday, February 7, 2012 @ 23:00:42 Author: eric Revision: 149458
upgpkg: libvorbis 1.3.3-1 Upstream update, Fix license, Add check function Modified: libvorbis/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-08 03:29:26 UTC (rev 149457) +++ PKGBUILD 2012-02-08 04:00:42 UTC (rev 149458) @@ -4,24 +4,29 @@ # Contributor: John Proctor <[email protected]> pkgname=libvorbis -pkgver=1.3.2 +pkgver=1.3.3 pkgrel=1 pkgdesc="Vorbis codec library" arch=('i686' 'x86_64') -license=('custom') url="http://www.xiph.org/vorbis/" +license=('BSD') depends=('libogg') options=('!libtool') source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz) -md5sums=('c870b9bd5858a0ecb5275c14486d9554') +md5sums=('6b1a36f0d72332fae5130688e65efe1f') build() { cd "${srcdir}/${pkgname}-${pkgver}" #-march=i686 optimizes too much, strip it out - CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --disable-static + CFLAGS=${CFLAGS/-march=$CARCH} LIBS+="-lm" ./configure --prefix=/usr --disable-static make } +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -j1 check +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install
