diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 33 | ||||
-rw-r--r-- | readme.install | 8 |
3 files changed, 17 insertions, 34 deletions
@@ -1,18 +1,17 @@ # Generated by mksrcinfo v8 -# Tue Nov 21 19:15:44 UTC 2017 +# Tue Nov 21 19:55:36 UTC 2017 pkgbase = broadcom-wl-ck pkgdesc = Broadcom 802.11abgn hybrid Linux networking device driver for linux-ck. pkgver = 6.30.223.271 pkgrel = 57 url = https://www.broadcom.com/support/802.11 - install = readme.install - arch = i686 arch = x86_64 license = custom makedepends = linux-ck-headers>=4.14 makedepends = linux-ck-headers<4.15 depends = linux-ck>=4.14 depends = linux-ck<4.15 + source = http://www.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz source = 001-null-pointer-fix.patch source = 002-rdtscl.patch source = 003-linux47.patch @@ -21,6 +20,7 @@ pkgbase = broadcom-wl-ck source = 006-linux411.patch source = 007-linux412.patch source = modprobe.d + sha256sums = 5f79774d5beec8f7636b59c0fb07a03108eef1e3fd3245638b20858c714144be sha256sums = 32e505a651fdb9fd5e4870a9d6de21dd703dead768c2b3340a2ca46671a5852f sha256sums = 4ea03f102248beb8963ad00bd3e36e67519a90fa39244db065e74038c98360dd sha256sums = 30ce1d5e8bf78aee487d0f3ac76756e1060777f70ed1a9cf95215c3a52cfbe2e @@ -29,10 +29,6 @@ pkgbase = broadcom-wl-ck sha256sums = 5bc12cb57712e6a944dff1c90de50135c2508085d8497ab99284ccccdb35c32b sha256sums = a3d13e8abb96ad440dbfae29acae82d31d1ced2ea62052f1efb2c3c4add347ce sha256sums = b4aca51ac5ed20cb79057437be7baf3650563b7a9d5efc515f0b9b34fbb9dc32 - source_i686 = https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz - sha256sums_i686 = 4f8b70b293ac8cc5c70e571ad5d1878d0f29d133a46fe7869868d9c19b5058cd - source_x86_64 = http://www.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz - sha256sums_x86_64 = 5f79774d5beec8f7636b59c0fb07a03108eef1e3fd3245638b20858c714144be pkgname = broadcom-wl-ck @@ -11,7 +11,7 @@ _pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver for linux-ck _extramodules="extramodules-4.14-ck" _kernver="$(cat /usr/lib/modules/${_extramodules}/version)" pkgdesc="${_pkgdesc}" -arch=('i686' 'x86_64') +arch=('x86_64') url='https://www.broadcom.com/support/802.11' license=('custom') depends=('linux-ck>=4.14' 'linux-ck<4.15') @@ -19,18 +19,18 @@ makedepends=('linux-ck-headers>=4.14' 'linux-ck-headers<4.15') #replaces=() #groups=('ck-generic') source=( - '001-null-pointer-fix.patch' - '002-rdtscl.patch' - '003-linux47.patch' - '004-linux48.patch' - '005-debian-fix-kernel-warnings.patch' - '006-linux411.patch' - '007-linux412.patch' - 'modprobe.d' - ) -source_i686=("https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35-nodebug-pcoem-${pkgver//./_}.tar.gz") -source_x86_64=("http://www.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-${pkgver//./_}.tar.gz") -sha256sums=('32e505a651fdb9fd5e4870a9d6de21dd703dead768c2b3340a2ca46671a5852f' + "http://www.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-${pkgver//./_}.tar.gz" + '001-null-pointer-fix.patch' + '002-rdtscl.patch' + '003-linux47.patch' + '004-linux48.patch' + '005-debian-fix-kernel-warnings.patch' + '006-linux411.patch' + '007-linux412.patch' + 'modprobe.d' +) +sha256sums=('5f79774d5beec8f7636b59c0fb07a03108eef1e3fd3245638b20858c714144be' + '32e505a651fdb9fd5e4870a9d6de21dd703dead768c2b3340a2ca46671a5852f' '4ea03f102248beb8963ad00bd3e36e67519a90fa39244db065e74038c98360dd' '30ce1d5e8bf78aee487d0f3ac76756e1060777f70ed1a9cf95215c3a52cfbe2e' '09d709df0c764118ca43117f5c096163d9669a28170da8476d4b8211bd225d2e' @@ -38,10 +38,6 @@ sha256sums=('32e505a651fdb9fd5e4870a9d6de21dd703dead768c2b3340a2ca46671a5852f' '5bc12cb57712e6a944dff1c90de50135c2508085d8497ab99284ccccdb35c32b' 'a3d13e8abb96ad440dbfae29acae82d31d1ced2ea62052f1efb2c3c4add347ce' 'b4aca51ac5ed20cb79057437be7baf3650563b7a9d5efc515f0b9b34fbb9dc32') -sha256sums_i686=('4f8b70b293ac8cc5c70e571ad5d1878d0f29d133a46fe7869868d9c19b5058cd') -sha256sums_x86_64=('5f79774d5beec8f7636b59c0fb07a03108eef1e3fd3245638b20858c714144be') - -install=readme.install prepare() { patch -Np1 -i "$srcdir/001-null-pointer-fix.patch" @@ -53,7 +49,6 @@ prepare() { patch -Np1 -i "$srcdir/007-linux412.patch" } - build() { sed -i -e "/BRCM_WLAN_IFNAME/s:eth:wlan:" -i src/wl/sys/wl_linux.c #sed -i -e "/EXTRA_LDFLAGS/s|\$(src)/lib|/usr/lib/${pkgname}|" Makefile @@ -64,7 +59,7 @@ package() { install -Dm644 wl.ko "${pkgdir}/usr/lib/modules/${_extramodules}/wl.ko" # makepkg does not do this automatically for this pkg so do it here - gzip -9 "${pkgdir}/usr/lib/modules/${_extramodules}/wl.ko" + gzip "${pkgdir}/usr/lib/modules/${_extramodules}/wl.ko" install -Dm644 lib/LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 modprobe.d "${pkgdir}/usr/lib/modprobe.d/broadcom-wl_ck.conf" } diff --git a/readme.install b/readme.install deleted file mode 100644 index 08ad6af2c5aa..000000000000 --- a/readme.install +++ /dev/null @@ -1,8 +0,0 @@ -post_upgrade() { - EXTRAMODULES='extramodules-4.14-ck' - depmod $(cat /usr/lib/modules/$EXTRAMODULES/version) -} - -post_install() { - post_upgrade -} |