Last active
June 18, 2019 00:53
-
-
Save hisaruki/770959832e80beebaf20ef13fe3ec013 to your computer and use it in GitHub Desktop.
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
--- a/PKGBUILD 2019-06-13 00:49:23.796200246 +0900 | |
+++ b/PKGBUILD 2019-06-13 00:48:55.232868149 +0900 | |
@@ -1,6 +1,6 @@ | |
_pkgbase=atlantic | |
pkgname="${_pkgbase}-dkms" | |
-pkgver=2.0.15.0 | |
+pkgver=2.2.6.0_178 | |
pkgrel=1 | |
pkgdesc="aquantia multigigabit nic driver - \"development preview\"" | |
url="https://www.aquantia.com/support/driver-download/" | |
@@ -9,24 +9,24 @@ license=('GPLv2') | |
depends=('dkms') | |
makedepends=('linux-headers') | |
conflicts=("${_pkgbase}") | |
-zipname="20180706_Linux_2.0.15.0" | |
-source=("https://s3-us-west-1.amazonaws.com/aquantia-staging/wp-content/uploads/2018/07/${zipname}.zip") | |
-md5sums=('1167bef23129284bf4893c3922257c60') | |
+zipname="20190605_Linux_ver_2.2.6.0.178" | |
+source=("https://s3-us-west-2.amazonaws.com/aq-media/wp-content/uploads/2019/06/${zipname}.zip") | |
+md5sums=('fcb1dc1c20f93a4e7919139645b8280d') | |
build() { | |
- cd "${srcdir}/${zipname}/src" | |
- tar zxf "Atlantic-${pkgver}.tar.gz" | |
+ cd "${srcdir}/${zipname}/" | |
+ tar zxf "atlantic.tar.gz" | |
} | |
package() { | |
- cd "${srcdir}/${zipname}/src/Linux-200" | |
+ cd "${srcdir}/${zipname}/Linux" | |
mkdir -p "${pkgdir}/usr/src/${_pkgbase}-${pkgver}" | |
cp -ar * "${pkgdir}/usr/src/${_pkgbase}-${pkgver}" | |
cat <<EOF >${pkgdir}/usr/src/${_pkgbase}-${pkgver}/dkms.conf | |
PACKAGE_NAME="${_pkgbase}" | |
BUILT_MODULE_NAME[0]="${_pkgbase}" | |
PACKAGE_VERSION="${pkgver}" | |
- DEST_MODULE_LOCATION[0]="/kernel/drivers/net/ethernet/aquantia" | |
+ DEST_MODULE_LOCATION[0]="/kernel/drivers/net/ethernet/aquantia/atlantic" | |
AUTOINSTALL="yes" | |
EOF | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment