diff options
Diffstat (limited to 'abs/core/libogg/PKGBUILD')
-rw-r--r-- | abs/core/libogg/PKGBUILD | 28 |
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 +} |