summaryrefslogtreecommitdiff
path: root/multilib/lib32-libxvmc/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /multilib/lib32-libxvmc/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-libxvmc/PKGBUILD')
-rw-r--r--multilib/lib32-libxvmc/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/multilib/lib32-libxvmc/PKGBUILD b/multilib/lib32-libxvmc/PKGBUILD
new file mode 100644
index 000000000..539b563f2
--- /dev/null
+++ b/multilib/lib32-libxvmc/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 26695 2010-09-15 22:53:40Z bluewind $
+#Maintainer: Jan de Groot <jgc@archlinux.org>
+
+_pkgbasename=libxvmc
+pkgname=lib32-$_pkgbasename
+pkgver=1.0.6
+pkgrel=3
+pkgdesc="X11 Video Motion Compensation extension library (32-bit)"
+arch=(x86_64)
+url="http://xorg.freedesktop.org/"
+license=('custom')
+depends=('lib32-libxv>=1.0.5' $_pkgbasename)
+makedepends=('pkgconfig' gcc-multilib)
+options=('!libtool')
+source=(${url}/releases/individual/lib/libXvMC-${pkgver}.tar.bz2)
+sha1sums=('4ace7e7ce6b646b5715b2efa561affc89bc87f91')
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd ${srcdir}/libXvMC-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc --disable-static --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd ${srcdir}/libXvMC-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+
+}