extra/libvpx to 0.9.7.p1-1

This commit is contained in:
Kevin Mihelich 2011-08-18 20:17:15 -04:00
parent fe34c8b1e0
commit 21e24af49a

View file

@ -1,4 +1,4 @@
# $Id: PKGBUILD 134545 2011-08-05 13:19:02Z ibiru $
# $Id: PKGBUILD 135631 2011-08-16 21:19:09Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# ALARM: Kevin Mihelich <kevin@plugapps.com>
@ -7,7 +7,8 @@
plugrel=1
pkgname=libvpx
pkgver=0.9.7
pkgver=0.9.7.p1
realver=0.9.7-p1
pkgrel=1
pkgdesc="The VP8 Codec SDK"
arch=('i686' 'x86_64')
@ -15,11 +16,11 @@ url="http://www.webmproject.org/"
license=('BSD')
depends=('glibc')
makedepends=('yasm')
source=(http://webm.googlecode.com/files/${pkgname}-v${pkgver}.tar.bz2)
sha1sums=('639596df7182a93db83f61af8f5bb5b6a13dcf63')
source=(http://webm.googlecode.com/files/${pkgname}-v${realver}.tar.bz2)
sha1sums=('dacfefaf3363f781de43858f09cdd0b0d469e6fc')
build() {
cd "${srcdir}/${pkgname}-v${pkgver}"
cd "${srcdir}/${pkgname}-v${realver}"
./configure --prefix=/usr --enable-vp8 \
--enable-postproc \
--enable-pic \
@ -29,7 +30,7 @@ build() {
}
package() {
cd "${srcdir}/${pkgname}-v${pkgver}"
cd "${srcdir}/${pkgname}-v${realver}"
make DIST_DIR="$pkgdir/usr" install
install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}