[arch-commits] Commit in lib32-libvdpau/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sat Mar 21 21:13:49 UTC 2015


    Date: Saturday, March 21, 2015 @ 22:13:49
  Author: alucryd
Revision: 129732

upgpkg: lib32-libvdpau 1.1-1

Modified:
  lib32-libvdpau/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-21 21:07:15 UTC (rev 129731)
+++ PKGBUILD	2015-03-21 21:13:49 UTC (rev 129732)
@@ -3,37 +3,39 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=lib32-libvdpau
-pkgver=0.9
+pkgver=1.1
 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')
+depends=('lib32-gcc-libs' 'lib32-libxext' "libvdpau=${pkgver}")
 makedepends=('dri2proto')
-source=("http://people.freedesktop.org/~aplattner/vdpau/${pkgname#*-}-${pkgver}.tar.gz")
-sha256sums=('e32957140835a545a01a3972db1143e01174db3d9c0017e51f6a3bf8b09c0e6e')
+source=("http://people.freedesktop.org/~aplattner/vdpau/libvdpau-${pkgver}.tar.gz")
+sha256sums=('aea4e783f220bf26ba2139ccd866a0ee5005fa03af5e08c41fbc939118263919')
 
 build() {
-  cd ${pkgname#*-}-${pkgver}
+  cd libvdpau-${pkgver}
 
   export CC='gcc -m32'
   export CXX='g++ -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
 
-  ./configure --prefix='/usr' --libdir='/usr/lib32' --sysconfdir='/etc'
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --sysconfdir='/etc'
   make
 }
 
 package() {
-  cd ${pkgname#*-}-${pkgver}
+  cd libvdpau-${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}
+  ln -s libvdpau "${pkgdir}"/usr/share/licenses/lib32-libvdpau
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list