PKGBUILDs/extra/libvpx/PKGBUILD
2013-05-11 23:47:37 +00:00

38 lines
1.1 KiB
Bash

# $Id: PKGBUILD 149273 2012-02-06 17:33:27Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - 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"
}