diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-05-07 22:31:25 -0300 |
commit | 9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch) | |
tree | 06520d9024b40745b94f02d0d3419386e6496863 /libre/tp_smapi-libre/PKGBUILD | |
parent | 6cc893589a6bd208f2b7711f985e17df7a6df816 (diff) | |
parent | a86ff663185661ee304bb1f6d00d982102dd706d (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
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 86e933e40..92e66fc6a 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=14 +pkgrel=19 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" } |