From 0b63837b6de4752b5f4955de3a16e9fc27680475 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 14 Jun 2011 22:22:07 -0400 Subject: [PATCH] re-added extra/libvorbis --- extra/libvorbis/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 extra/libvorbis/PKGBUILD diff --git a/extra/libvorbis/PKGBUILD b/extra/libvorbis/PKGBUILD new file mode 100644 index 000000000..d4aef6d0c --- /dev/null +++ b/extra/libvorbis/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 102123 2010-12-06 01:49:44Z allan $ +# Maintainer: Tobias Kieslich +# Contributor: dorphell +# Contributor: John Proctor + +# PlugApps: Kevin Mihelich +# - remove Arch's CFLAGS replacement, doesn't work with our flags + +plugrel=1 + +pkgname=libvorbis +pkgver=1.3.2 +pkgrel=1 +pkgdesc="Vorbis codec library" +arch=('i686' 'x86_64') +license=('custom') +url="http://www.xiph.org/ogg/vorbis/" +depends=('libogg') +options=('!libtool') +source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz) +md5sums=('c870b9bd5858a0ecb5275c14486d9554') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + #-march=i686 optimizes too much, strip it out + #CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --disable-static + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" +}