diff options
-rw-r--r-- | abs/core/libvorbis/PKGBUILD | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/abs/core/libvorbis/PKGBUILD b/abs/core/libvorbis/PKGBUILD index 20b4270..2a733bc 100644 --- a/abs/core/libvorbis/PKGBUILD +++ b/abs/core/libvorbis/PKGBUILD @@ -1,34 +1,34 @@ -# $Id: PKGBUILD 149459 2012-02-08 04:00:58Z eric $ -# Maintainer: Tobias Kieslich <tobias@archlinux.org> +# $Id$ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor: Tobias Kieslich <tobias@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> # Contributor: John Proctor <jproctor@prium.net> pkgname=libvorbis -pkgver=1.3.3 +pkgver=1.3.5 pkgrel=1 -pkgdesc="Vorbis codec library" +pkgdesc='Vorbis codec library' arch=('i686' 'x86_64') -url="http://www.xiph.org/vorbis/" +url='http://www.xiph.org/vorbis/' license=('BSD') depends=('libogg') -options=('!libtool') -source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz) -md5sums=('6b1a36f0d72332fae5130688e65efe1f') +provides=('libvorbisfile.so' 'libvorbis.so' 'libvorbisenc.so') +source=(http://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.gz) +md5sums=('7220e089f3be3412a2317d6fde9e3944') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - #-march=i686 optimizes too much, strip it out - CFLAGS=${CFLAGS/-march=$CARCH} LIBS+="-lm" ./configure --prefix=/usr --disable-static + cd $pkgname-$pkgver + ./configure --prefix=/usr --disable-static make } check() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd $pkgname-$pkgver make -j1 check } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |