# $Id: PKGBUILD 149273 2012-02-06 17:33:27Z ibiru $ # Maintainer: Ionut Biru # ALARM: Kevin Mihelich # - configure option --enable-shared isn't supported for us # - patch to revert stupidity of those who think arm is always cross-compiled pkgname=libvpx pkgver=1.2.0 pkgrel=1 pkgdesc="The VP8 Codec SDK" arch=('i686' 'x86_64') url="http://www.webmproject.org/" license=('BSD') depends=('glibc') makedepends=('yasm') source=(http://mirrors.kernel.org/archlinux/other/libvpx/libvpx-$pkgver.tar.xz{,.sig} no-cross.patch) sha1sums=('75cd953cf2db694412569272803fbdc73f2b599f' 'SKIP' 'de7c8bb121d08f719f5cbbe94e7e37c24f1090b8') build() { cd "$srcdir/$pkgname-$pkgver" patch -p1 -i ../no-cross.patch ./configure --prefix=/usr --enable-vp8 \ --enable-postproc \ --enable-pic \ --disable-install-docs \ --disable-install-srcs make } package() { cd "$srcdir/$pkgname-$pkgver" make DIST_DIR="$pkgdir/usr" install install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }