Date: Sunday, January 18, 2015 @ 22:10:43
  Author: svenstaro
Revision: 126155

archrelease: copy trunk to community-x86_64

Added:
  lib32-libvdpau/repos/community-x86_64/
  lib32-libvdpau/repos/community-x86_64/PKGBUILD
    (from rev 126154, lib32-libvdpau/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: lib32-libvdpau/repos/community-x86_64/PKGBUILD (from rev 126154, 
lib32-libvdpau/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2015-01-18 21:10:43 UTC (rev 126155)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=lib32-libvdpau
+pkgver=0.9
+pkgrel=1
+pkgdesc='Nvidia VDPAU library'
+arch=('x86_64')
+url='http://cgit.freedesktop.org/~aplattner/libvdpau'
+license=('custom')
+depends=('lib32-gcc-libs' 'lib32-libxext' "${pkgname#*-}")
+conflicts=('lib32-nvidia-utils<190.42-2')
+makedepends=('dri2proto')
+source=("http://people.freedesktop.org/~aplattner/vdpau/${pkgname#*-}-${pkgver}.tar.gz";)
+sha256sums=('e32957140835a545a01a3972db1143e01174db3d9c0017e51f6a3bf8b09c0e6e')
+
+build() {
+  cd ${pkgname#*-}-${pkgver}
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure --prefix='/usr' --libdir='/usr/lib32' --sysconfdir='/etc'
+  make
+}
+
+package() {
+  cd ${pkgname#*-}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/{etc,usr/include}
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses
+  ln -s ${pkgname#*-} "${pkgdir}"/usr/share/licenses/${pkgname}
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to