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

Massimiliano Torromeo mtorromeo at archlinux.org
Mon Mar 16 09:46:47 UTC 2015


    Date: Monday, March 16, 2015 @ 10:46:47
  Author: mtorromeo
Revision: 129352

upgpkg: rt3562sta 2.4.1.1_r2-2

Fixed linux dependency version

Modified:
  rt3562sta/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-16 09:41:07 UTC (rev 129351)
+++ PKGBUILD	2015-03-16 09:46:47 UTC (rev 129352)
@@ -5,7 +5,7 @@
 pkgname=rt3562sta
 pkgver=2.4.1.1_r2
 _patchrel=${pkgver/*_r/}
-pkgrel=1
+pkgrel=2
 pkgdesc="Ralink RT3562 PCI WLAN adaptors kernel module"
 arch=(i686 x86_64)
 url="http://www.mediatek.com/en/products/connectivity/wifi/consumer-electronics/pcie/rt3562/"
@@ -28,7 +28,7 @@
 
 package() {
 	_kernver=$(pacman -Q linux | sed -r 's#.* ([0-9]+\.[0-9]+).*#\1#')
-	depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/.*} + 1)")
+	depends=("linux>=$_kernver" "linux<${_kernver/.*}.$(expr ${_kernver/*.} + 1)")
 	KERNEL_VERSION=$(cat /usr/lib/modules/extramodules-$_kernver-ARCH/version)
 	msg "Kernel = $KERNEL_VERSION"
 



More information about the arch-commits mailing list