summaryrefslogtreecommitdiffstats
path: root/abs/extra/libvpx
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/libvpx')
-rw-r--r--abs/extra/libvpx/PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/abs/extra/libvpx/PKGBUILD b/abs/extra/libvpx/PKGBUILD
index 09c994f..0fad7b8 100644
--- a/abs/extra/libvpx/PKGBUILD
+++ b/abs/extra/libvpx/PKGBUILD
@@ -1,20 +1,23 @@
-# $Id: PKGBUILD 158895 2012-05-12 18:37:10Z ibiru $
+# $Id$
# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
pkgname=libvpx
-pkgver=1.1.0
+pkgver=1.3.0
pkgrel=1
-pkgdesc="The VP8 Codec SDK"
+pkgdesc='The VP8 Codec SDK'
arch=('i686' 'x86_64')
-url="http://www.webmproject.org/"
+url='http://www.webmproject.org/'
license=('BSD')
depends=('glibc')
-makedepends=('yasm')
-source=(http://webm.googlecode.com/files/$pkgname-v$pkgver.tar.bz2)
-sha1sums=('356af5f770c50cd021c60863203d8f30164f6021')
+makedepends=('yasm' 'git')
+source=($pkgname::git+http://code.google.com/p/webm.libvpx#tag=v$pkgver)
+md5sums=('SKIP')
build() {
- cd "$pkgname-v$pkgver"
- ./configure --prefix=/usr --enable-vp8 \
+ cd $pkgname
+ ./configure --prefix=/usr \
+ --enable-vp8 \
+ --enable-vp9 \
--enable-runtime-cpu-detect \
--enable-shared \
--enable-postproc \
@@ -25,7 +28,7 @@ build() {
}
package() {
- cd "$pkgname-v$pkgver"
+ cd $pkgname
make DIST_DIR="$pkgdir/usr" install
- install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}