summaryrefslogtreecommitdiff
path: root/extra/libvorbis
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-09 18:15:39 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-09 18:15:39 -0300
commitf35184e8782d5fe7fc3ea3f11042b29913cde6d8 (patch)
treec984d07cfb1cb491f5e7a71f3771a81001398d74 /extra/libvorbis
parent520f5964346341a33a8337c8fd5b1afa10de6d5b (diff)
parent54b7119c36756b86ea463649ee972cd6c1ce5863 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/nload/PKGBUILD core/glibc/PKGBUILD extra/aalib/PKGBUILD extra/apache/PKGBUILD extra/jasper/PKGBUILD extra/libasyncns/PKGBUILD extra/libvorbis/PKGBUILD extra/libxslt/PKGBUILD extra/xfce4-timer-plugin/PKGBUILD multilib/lib32-glibc/PKGBUILD multilib/lib32-gtk2/PKGBUILD staging/xorg-xinput/PKGBUILD
Diffstat (limited to 'extra/libvorbis')
-rw-r--r--extra/libvorbis/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/extra/libvorbis/PKGBUILD b/extra/libvorbis/PKGBUILD
index 0703016db..31d5b1978 100644
--- a/extra/libvorbis/PKGBUILD
+++ b/extra/libvorbis/PKGBUILD
@@ -1,30 +1,34 @@
-# $Id: PKGBUILD 102123 2010-12-06 01:49:44Z allan $
+# $Id: PKGBUILD 149459 2012-02-08 04:00:58Z eric $
# Maintainer: Tobias Kieslich <tobias@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=libvorbis
-pkgver=1.3.2
-pkgrel=2
+pkgver=1.3.3
+pkgrel=1
pkgdesc="Vorbis codec library"
arch=('i686' 'x86_64' 'mips64el')
-license=('custom')
-url="http://www.xiph.org/ogg/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=('c870b9bd5858a0ecb5275c14486d9554')
+md5sums=('6b1a36f0d72332fae5130688e65efe1f')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
#-march=i686 optimizes too much, strip it out
- [ "$CARCH" = "i686" ] && export 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}
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
}