diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-24 18:27:25 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-24 18:27:25 +0100 |
commit | f7e232ce9690ec2dbe733b4b31076ddd9ad4e752 (patch) | |
tree | 9fd05947f77abdbee901d87b2d54299238c511a9 /libre/acpi_call | |
parent | fab10b81c5e35cfe4c98d4b46f4b46f29e45f470 (diff) | |
download | abslibre-f7e232ce9690ec2dbe733b4b31076ddd9ad4e752.tar.gz abslibre-f7e232ce9690ec2dbe733b4b31076ddd9ad4e752.tar.bz2 abslibre-f7e232ce9690ec2dbe733b4b31076ddd9ad4e752.zip |
libre/acpi_call: rebuilt
Diffstat (limited to 'libre/acpi_call')
-rw-r--r-- | libre/acpi_call/PKGBUILD | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/libre/acpi_call/PKGBUILD b/libre/acpi_call/PKGBUILD index e51956af5..ff7757edc 100644 --- a/libre/acpi_call/PKGBUILD +++ b/libre/acpi_call/PKGBUILD @@ -5,28 +5,23 @@ # Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> -_basekernel=4.20 -_parabolarel=1 +_basekernel="$(pacman -Sp --print-format '%v' linux-libre)" pkgbase=acpi_call pkgname=(acpi_call acpi_call-dkms) pkgver=1.1.0 -pkgrel=192 -pkgrel+=.parabola${_parabolarel}.basekernel${_basekernel} +pkgrel=195 +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' 'armv7h') license=('GPL') - -# Generic (you shouldn't have to modify any of these variables) -_toohigh=$(IFS=. read a b <<<$_basekernel; echo $a.$((b+1))) -makedepends=("linux-libre-headers>=${_basekernel}" "linux-libre-headers<${_toohigh}" "linux-libre>=${_basekernel}" "linux-libre<${_toohigh}") -makedepends+=('libelf') - +depends=(linux-libre=${_basekernel%-*}) +makedepends=(linux-libre-headers=${_basekernel%-*} git libelf) _extramodules=extramodules -source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz" +source=("acpi_call-${pkgver}.tar.gz::https://github.com/mkottman/acpi_call/archive/v${pkgver}.tar.gz" dkms.conf) sha256sums=('d0d14b42944282724fca76f57d598eed794ef97448f387d1c489d85ad813f2f0' '32e6ea6523b13132c6c7838bba7fbf3d040ba2d35a892c2c356245612720df8a') @@ -47,8 +42,6 @@ build() { } package_acpi_call() { - depends=("linux-libre>=${_basekernel}" "linux-libre<${_toohigh}") - cd $pkgbase-$pkgver install -Dt "$pkgdir/usr/lib/modules/$_extramodules" -m644 *.ko find "$pkgdir" -name '*.ko' -exec xz {} + |