summaryrefslogtreecommitdiffstats
path: root/abs/core/libogg/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-30 23:39:44 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-30 23:39:44 (GMT)
commit1d04d92575d10b2e7482732521f796fb6bb0be50 (patch)
tree638f953b54672236cc0163c0ce01e65423039722 /abs/core/libogg/PKGBUILD
parent46285f8aa09e7c6bbeec4062bd0caf72fb45fe85 (diff)
downloadlinhes_pkgbuild-1d04d92575d10b2e7482732521f796fb6bb0be50.zip
linhes_pkgbuild-1d04d92575d10b2e7482732521f796fb6bb0be50.tar.gz
linhes_pkgbuild-1d04d92575d10b2e7482732521f796fb6bb0be50.tar.bz2
libogg: upgrade
Diffstat (limited to 'abs/core/libogg/PKGBUILD')
-rw-r--r--abs/core/libogg/PKGBUILD28
1 files 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
+}