mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
831 B
Bash
27 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
|
||
|
}
|