Created
February 9, 2015 09:35
-
-
Save trickart/3621d9304095168b9caa to your computer and use it in GitHub Desktop.
AURのbroadcom-wlのPKGBUILDをlinux-ltsに対応させたブツ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- PKGBUILD.org 2015-01-22 09:45:52.000000000 +0900 | |
+++ PKGBUILD 2015-02-10 03:25:14.147537568 +0900 | |
@@ -9,8 +9,8 @@ | |
url='http://www.broadcom.com/support/802.11/linux_sta.php' | |
arch=('i686' 'x86_64') | |
license=('custom') | |
-depends=('linux') | |
-makedepends=('linux-headers') | |
+depends=('linux-lts') | |
+makedepends=('linux-lts-headers') | |
[[ $CARCH = x86_64 ]] && _arch=_64 || _arch= | |
source=("http://www.broadcom.com/docs/linux_sta/hybrid-v35${_arch}-nodebug-pcoem-${pkgver//./_}.tar.gz" | |
'modprobe.d' | |
@@ -26,8 +26,8 @@ | |
install=install | |
-_kernmajor="$(pacman -Q linux | awk '{print $2}' | cut -d - -f1 | cut -d . -f1,2)" | |
-_extramodules="extramodules-${_kernmajor}-ARCH" | |
+_kernmajor="$(pacman -Q linux-lts | awk '{print $2}' | cut -d - -f1 | cut -d . -f1,2)" | |
+_extramodules="extramodules-${_kernmajor}-lts" | |
_kernver="$(cat /usr/lib/modules/${_extramodules}/version)" | |
prepare() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment