From 1d04d92575d10b2e7482732521f796fb6bb0be50 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 30 Nov 2010 23:39:44 +0000
Subject: libogg: upgrade

---
 abs/core/libogg/PKGBUILD | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/abs/core/libogg/PKGBUILD b/abs/core/libogg/PKGBUILD
index b317c8b..b42aaa6 100644
--- a/abs/core/libogg/PKGBUILD
+++ b/abs/core/libogg/PKGBUILD
@@ -1,22 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 80639 2010-05-20 16:07:01Z ibiru $
 # Maintainer: dorphell <dorphell@archlinux.org>
 # Contributor: John Proctor <jproctor@prium.net>
 
 pkgname=libogg
-pkgver=1.1.3
+pkgver=1.2.0
 pkgrel=1
-pkgdesc="Ogg bitstream and framing library"
-pkgurl="http://www.xiph.org/ogg/vorbis/download"
-depends=('glibc')
 arch=('i686' 'x86_64')
+url="http://www.xiph.org/ogg/"
+license=('BSD')
+depends=('glibc')
+options=('!libtool')
 source=(http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.gz)
-md5sums=('eaf7dc6ebbff30975de7527a80831585')
+md5sums=('c95b73759acfc30712beef6ce4e88efa')
 
 build() {
-  cd $startdir/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr
-  make || return 1
-  make DESTDIR=$startdir/pkg install
-  find $startdir/pkg -name '*.la' -exec rm {} \;
+    cd $srcdir/${pkgname}-${pkgver}
+    ./configure --prefix=/usr || return 1
+    make || return 1
 }
+package() {
+    cd $srcdir/${pkgname}-${pkgver}
+    make DESTDIR=$pkgdir install || return 1
 
+    # install BSD license
+    install -Dm644 $srcdir/$pkgname-$pkgver/COPYING \
+	$pkgdir/usr/share/licenses/$pkgname/COPYING
+}
-- 
cgit v0.12

