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

Jan Steffens heftig at archlinux.org
Wed May 22 01:03:57 UTC 2019


    Date: Wednesday, May 22, 2019 @ 01:03:57
  Author: heftig
Revision: 468258

1.61-33: kernel 5.1.3.arch2-1

Modified:
  ndiswrapper-arch/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-22 01:03:46 UTC (rev 468257)
+++ PKGBUILD	2019-05-22 01:03:57 UTC (rev 468258)
@@ -4,7 +4,7 @@
 pkgname=ndiswrapper-arch
 pkgver=1.61
 _extramodules=extramodules-ARCH
-pkgrel=32
+pkgrel=33
 pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors, kernel module for Arch kernel"
 arch=('x86_64')
 url="http://sourceforge.net/projects/ndiswrapper/"
@@ -37,7 +37,7 @@
 }
 
 package() {
-  cd ndiswrapper-$pkgver/ndiswrapper/driver
-  install -Dm644 ndiswrapper.ko "$pkgdir"/usr/lib/modules/$_extramodules/ndiswrapper.ko
-  gzip "$pkgdir"/usr/lib/modules/$_extramodules/ndiswrapper.ko
+  cd ndiswrapper-$pkgver/ndiswrapper
+  install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 driver/*.ko
+  find "$pkgdir" -name '*.ko' -exec xz {} +
 }


More information about the arch-commits mailing list