diff options
Diffstat (limited to 'libre/acpi_call')
-rw-r--r-- | libre/acpi_call/PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libre/acpi_call/PKGBUILD b/libre/acpi_call/PKGBUILD index c9c75eed5..0f5b4a159 100644 --- a/libre/acpi_call/PKGBUILD +++ b/libre/acpi_call/PKGBUILD @@ -5,22 +5,20 @@ # Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> -_basekernel=5.3.7_gnu-1 +_basekernel=5.4.12-1 pkgbase=acpi_call pkgname=(acpi_call acpi_call-dkms) pkgver=1.1.0 pkgrel=235 -pkgrel+=.parabola1.basekernel${_basekernel%_*} +pkgrel+=.parabola1.basekernel${_basekernel%-*} pkgdesc='A linux kernel module that enables calls to ACPI methods through /proc/acpi/call' pkgdesc+=' (built for the linux-libre kernel package)' url='https://github.com/mkottman/acpi_call' arch=('x86_64') arch+=('i686') license=('GPL') -depends=(linux-libre=${_basekernel%-*}) makedepends=(linux-libre-headers=${_basekernel%-*} git libelf) -_extramodules=extramodules source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz" dkms.conf) sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0' @@ -42,6 +40,8 @@ build() { } package_acpi_call() { + depends=(linux-libre=${_basekernel%-*}) + cd $pkgbase-$pkgver _extradir="/usr/lib/modules/$(</usr/src/linux-libre/version)/extramodules" install -Dt "$pkgdir$_extradir" -m644 *.ko |