diff options
author | Derek J. Clark | 2024-03-05 14:34:55 -0800 |
---|---|---|
committer | Derek J. Clark | 2024-03-05 14:34:55 -0800 |
commit | 68a2b42b6d80daad7ca85801b0a3155a848ec073 (patch) | |
tree | 7d72ee3e1fbfe7681439995f89ccc2073472a0ad | |
parent | da4113179d29ab569202ec518439fb0cf421f478 (diff) | |
download | aur-68a2b42b6d80daad7ca85801b0a3155a848ec073.tar.gz |
Fix build issues.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 15 insertions, 19 deletions
@@ -1,13 +1,13 @@ pkgbase = bmi160-aya-neo-dkms-git - pkgdesc = BMI160 DKMS driver for devices with 10EC5280 ACPI ID - pkgver = 1.0.0 + pkgdesc = BMI160 DKMS driver patch for devices with 10EC5280 ACPI ID + pkgver = 1.0.1 pkgrel = 1 url = https://github.com/pastaq/bmi160-aya-neo arch = any license = GPL3 + makedepends = curl makedepends = dkms makedepends = git - makedepends = wget makedepends = linux-headers source = git+https://github.com/pastaq/bmi160-aya-neo.git sha256sums = SKIP @@ -1,30 +1,26 @@ _pkgbase=bmi160-aya-neo pkgname=${_pkgbase}-dkms-git -pkgver=1.0.0 +pkgver=1.0.1 pkgrel=1 -pkgdesc='BMI160 DKMS driver for devices with 10EC5280 ACPI ID' +pkgdesc='BMI160 DKMS driver patch for devices with 10EC5280 ACPI ID' arch=(any) url=https://github.com/pastaq/bmi160-aya-neo license=(GPL3) depends=() -makedepends=(dkms git wget linux-headers) +makedepends=(curl dkms git linux-headers) source=(git+"${url}".git) sha256sums=('SKIP') package() { cd "${srcdir}"/"${_pkgbase}" - local install_dir="${pkgdir}"/usr/src/${_pkgbase}-${pkgver} - - install -Dm644 bmi160_ayaneo.patch "${install_dir}/bmi160_ayaneo.patch" - install -Dm644 bmi160_i2c-mods.conf "${install_dir}/bmi160_i2c-mods.conf" - install -Dm644 dkms.conf "${install_dir}/dkms.conf" - install -Dm755 dkms-patchmodule.sh "${install_dir}/dkms-patchmodule.sh" - install -Dm755 dkms.post_install "${install_dir}/dkms.post_install" - install -Dm755 dkms.post_remove "${install_dir}/dkms.post_remove" - install -Dm644 Makefile "${install_dir}/Makefile" - + local install_dir="${pkgdir}"/usr/src/${_pkgbase}-${pkgver} + + install -Dm644 bmi160_ayaneo.patch "${install_dir}/bmi160_ayaneo.patch" + install -Dm644 dkms.conf "${install_dir}/dkms.conf" + install -Dm755 dkms-patchmodule.sh "${install_dir}/dkms-patchmodule.sh" + # Set name and version - sed -e "s/@_PKGBASE@/${_pkgbase}/" \ - -e "s/@PKGVER@/${pkgver}/" \ - -i "${install_dir}"/dkms.conf + sed -e "s/@_PKGBASE@/${_pkgbase}/" \ + -e "s/@PKGVER@/${pkgver}/" \ + -i "${install_dir}"/dkms.conf } |