diff options
Diffstat (limited to 'libre/tp_smapi-lts')
-rw-r--r-- | libre/tp_smapi-lts/PKGBUILD | 8 | ||||
-rw-r--r-- | libre/tp_smapi-lts/kmod.install | 14 |
2 files changed, 1 insertions, 21 deletions
diff --git a/libre/tp_smapi-lts/PKGBUILD b/libre/tp_smapi-lts/PKGBUILD index 9abead389..50fa216bf 100644 --- a/libre/tp_smapi-lts/PKGBUILD +++ b/libre/tp_smapi-lts/PKGBUILD @@ -12,7 +12,7 @@ # Contributor: Luke Shumaker <lukeshu@sbcglobal.net> _basekernel=4.14 -_archrel=32 +_archrel=37 _parabolarel=1 pkgname=tp_smapi-lts @@ -35,7 +35,6 @@ replaces=("${pkgname/-lts/}-libre-lts" "${pkgname/-lts/}-parabola-lts") conflicts=("${pkgname/-lts/}-libre-lts" "${pkgname/-lts/}-parabola-lts") provides=("${pkgname/-lts/}") -install='kmod.install' source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/evgeni/${pkgname/-lts/}/archive/${_pkgname}/${pkgver}.tar.gz") sha256sums=('cd28bf6ee21b2c27b88d947cb0bfcb19648c7daa5d350115403dbcad05849381') @@ -60,9 +59,4 @@ package() { # load module on startup install -dm 755 "${pkgdir}/usr/lib/modules-load.d" echo tp_smapi > "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf" - - # Set the correct extramodules directory for install - cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" - true && install=${install}.pkg - sed -i "s/^_EXTRAMODULES=.*/_EXTRAMODULES="${_extramodules}"/" "${startdir}/${install}" } diff --git a/libre/tp_smapi-lts/kmod.install b/libre/tp_smapi-lts/kmod.install deleted file mode 100644 index 40caa464f..000000000 --- a/libre/tp_smapi-lts/kmod.install +++ /dev/null @@ -1,14 +0,0 @@ -_EXTRAMODULES= - -post_install() { - echo ">>> Updating module dependencies. Please wait ..." - depmod "$(cat /usr/lib/modules/$_EXTRAMODULES/version)" >/dev/null 2>&1 -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |