summaryrefslogtreecommitdiff
path: root/testing/libvpx/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libvpx/PKGBUILD')
-rw-r--r--testing/libvpx/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/libvpx/PKGBUILD b/testing/libvpx/PKGBUILD
new file mode 100644
index 000000000..be5b7375e
--- /dev/null
+++ b/testing/libvpx/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 149119 2012-02-05 21:34:27Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+pkgname=libvpx
+pkgver=1.0.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://webm.googlecode.com/files/$pkgname-v$pkgver.tar.bz2)
+sha1sums=('2919e11074fef72fc61ef1a75160050ffaad6074')
+
+build() {
+ cd "$srcdir/$pkgname-v$pkgver"
+ ./configure --prefix=/usr --enable-vp8 \
+ --enable-runtime-cpu-detect \
+ --enable-shared \
+ --enable-postproc \
+ --enable-pic \
+ --disable-install-docs \
+ --disable-install-srcs
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-v$pkgver"
+ make DIST_DIR="$pkgdir/usr" install
+ install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}