[arch-commits] Commit in tp_smapi-lts/trunk (PKGBUILD tp_smapi-lts.install)
Christian Hesse
eworm at archlinux.org
Mon May 28 11:17:58 UTC 2018
Date: Monday, May 28, 2018 @ 11:17:57
Author: eworm
Revision: 332431
upgpkg: tp_smapi-lts 0.42-35
* rebuilt against linux-lts 4.14.44-1
* removed install script, handled by pacman hook
Modified:
tp_smapi-lts/trunk/PKGBUILD
Deleted:
tp_smapi-lts/trunk/tp_smapi-lts.install
----------------------+
PKGBUILD | 6 +-----
tp_smapi-lts.install | 13 -------------
2 files changed, 1 insertion(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-28 11:16:33 UTC (rev 332430)
+++ PKGBUILD 2018-05-28 11:17:57 UTC (rev 332431)
@@ -11,7 +11,7 @@
_pkgname=tp-smapi
pkgver=0.42
_extradir=/usr/lib/modules/extramodules-4.14-lts
-pkgrel=34
+pkgrel=35
pkgdesc="Modules for ThinkPad's SMAPI functionality"
arch=('x86_64')
url='https://github.com/evgeni/tp_smapi'
@@ -18,7 +18,6 @@
license=('GPL')
depends=('linux-lts>=4.14.39' 'linux-lts<4.15')
makedepends=('linux-lts-headers>=4.14.39' 'linux-lts-headers<4.15')
-install="$pkgname.install"
source=("$_pkgname-$pkgver.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/$_pkgname/$pkgver.tar.gz")
md5sums=('6a51d3aa459ad7a6ebfbb8c29527b3ee')
@@ -42,7 +41,4 @@
# load module on startup
echo tp_smapi | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
-
- # update kernel version in install file
- sed -ri "s|^(extramodules=).*\$|\1$_extradir|" "$startdir/$pkgname.install"
}
Deleted: tp_smapi-lts.install
===================================================================
--- tp_smapi-lts.install 2018-05-28 11:16:33 UTC (rev 332430)
+++ tp_smapi-lts.install 2018-05-28 11:17:57 UTC (rev 332431)
@@ -1,13 +0,0 @@
-extramodules=/usr/lib/modules/extramodules-4.14-lts
-
-post_install() {
- depmod -v $(< "$extramodules/version") &>/dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
More information about the arch-commits
mailing list