PKGBUILDs/extra/libtheora/PKGBUILD
2009-10-09 21:23:22 -05:00

26 lines
831 B
Bash

# $Id: PKGBUILD 18765 2008-11-08 23:31:26Z jgc $
# Maintainer: Tom Killian <tom@archlinux.org>
# Committer: dorphell <dorphell@archlinux.org>
pkgname=libtheora
pkgver=1.0
pkgrel=1
pkgdesc="An open video codec developed by the Xiph.org"
arch=('i686' 'x86_64')
depends=('libogg')
makedepends=('libvorbis')
url=http://www.xiph.org
license=('custom')
options=(!libtool)
source=(http://downloads.xiph.org/releases/theora/libtheora-${pkgver}.tar.bz2)
md5sums=('c963937053f45a7878954bed37ceb182')
build() {
cd "${srcdir}/libtheora-${pkgver}"
./configure --prefix=/usr --enable-shared --disable-static || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 LICENSE COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}