PKGBUILDs/extra/libogg/PKGBUILD

24 lines
621 B
Bash

# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
pkgname=libogg
pkgver=1.1.3
pkgrel=1
pkgdesc="Ogg bitstream and framing library"
arch=('arm')
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')
build() {
cd $srcdir/${pkgname}-${pkgver}
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
# install BSD license
install -Dm644 $srcdir/$pkgname-$pkgver/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING
}