diff options
Diffstat (limited to 'libre/tp_smapi-libre/PKGBUILD')
-rw-r--r-- | libre/tp_smapi-libre/PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libre/tp_smapi-libre/PKGBUILD b/libre/tp_smapi-libre/PKGBUILD index d7c900f2a..2fda312b6 100644 --- a/libre/tp_smapi-libre/PKGBUILD +++ b/libre/tp_smapi-libre/PKGBUILD @@ -1,3 +1,4 @@ +# $Id$ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: xduugu # Contributor: nh2 @@ -11,13 +12,13 @@ _pkgname=tp_smapi pkgname=tp_smapi-libre pkgver=0.41 -pkgrel=12.1 +pkgrel=16 pkgdesc="Modules for ThinkPad's SMAPI functionality (built for the linux-libre kernel package)" arch=('i686' 'x86_64' 'mips64el') url='https://github.com/evgeni/tp_smapi' license=('GPL') -depends=('linux-libre>=3.7' 'linux-libre<3.8') -makedepends=('linux-libre-headers>=3.7' 'linux-libre-headers<3.8') +depends=('linux-libre>=3.8' 'linux-libre<3.9') +makedepends=('linux-libre-headers>=3.8' 'linux-libre-headers<3.9') replaces=("${_pkgname}") conflicts=("${_pkgname}") provides=("${_pkgname}=${pkgver}") @@ -51,13 +52,13 @@ package() { mv "${_kernver}/extra" "${_extramodules##*/}" rmdir "${_kernver}" - # compress kernel libre modules + # compress kernel modules find "${pkgdir}" -name "*.ko" -exec gzip -9 {} + # load module on startup echo tp_smapi > "${srcdir}/${_pkgname}.conf" install -Dm644 "${srcdir}/${_pkgname}.conf" "${pkgdir}/usr/lib/modules-load.d/${_pkgname}.conf" - # update kernel libre version in install file + # update kernel version in install file sed -ri "s#^(extramodules=).*\$#\1${_extramodules}#" "${startdir}/${_pkgname}.install" } |