[arch-commits] CVS update of unstable/x11/nvidia-mm (PKGBUILD)

Travis Willard travis at archlinux.org
Tue Aug 21 00:33:03 UTC 2007


    Date: Monday, August 20, 2007 @ 20:33:03
  Author: travis
    Path: /home/cvs-unstable/unstable/x11/nvidia-mm

Modified: PKGBUILD (1.4 -> 1.5)

Add license infos.


----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


Index: unstable/x11/nvidia-mm/PKGBUILD
diff -u unstable/x11/nvidia-mm/PKGBUILD:1.4 unstable/x11/nvidia-mm/PKGBUILD:1.5
--- unstable/x11/nvidia-mm/PKGBUILD:1.4	Mon Jul 30 19:05:07 2007
+++ unstable/x11/nvidia-mm/PKGBUILD	Mon Aug 20 20:33:03 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.4 2007/07/30 23:05:07 tom Exp $
+# $Id: PKGBUILD,v 1.5 2007/08/21 00:33:03 travis Exp $
 # Maintainer : Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=nvidia-mm
@@ -10,6 +10,7 @@
 [ "$CARCH" = "i686"   ] && ARCH=x86
 [ "$CARCH" = "x86_64" ] && ARCH=x86_64
 url="http://www.nvidia.com/"
+license=('custom')
 depends=('kernel26mm' 'nvidia-utils')
 install=nvidia.install
 source=(http://us.download.nvidia.com/XFree86/Linux-$ARCH/${pkgver}/NVIDIA-Linux-$ARCH-${pkgver}-pkg0.run
@@ -38,4 +39,8 @@
   install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
 
   sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
+
+  # install license
+  install -D -m0644 $startdir/src/NVIDIA-Linux-$ARCH-${_nver}-pkg0/LICENSE \
+                    $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
 }




More information about the arch-commits mailing list