diff options
author | Daniel Bermond | 2018-08-01 16:14:54 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-08-01 16:14:54 +0000 |
commit | c3e27465e5142310187c3756bd125775ca1073e2 (patch) | |
tree | 50014872773269a48e584486af07348da4b905fa | |
parent | fb25b0a9bd637935b8135f5378de351f5e0ae20f (diff) | |
download | aur-c3e27465e5142310187c3756bd125775ca1073e2.tar.gz |
Remove .install file (dkms operations are handled by pacman hooks)
The .install file contains only dkms operations. But since 2016,
dkms operations are handled by pacman hooks. There is no need to
have this is .install file anymore.
References
----------
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/nvidia&id=0e7a407f3016e4f37bb1fc9fff23c9e814a05c33
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | nvidia-beta-dkms.install | 27 |
3 files changed, 2 insertions, 31 deletions
@@ -1,9 +1,8 @@ pkgbase = nvidia-beta-dkms pkgdesc = NVIDIA driver sources for linux (beta version) pkgver = 396.24 - pkgrel = 6 + pkgrel = 7 url = http://www.nvidia.com/ - install = nvidia-beta-dkms.install arch = x86_64 license = custom depends = dkms @@ -10,7 +10,7 @@ pkgname=nvidia-beta-dkms pkgver=396.24 -pkgrel=6 +pkgrel=7 pkgdesc='NVIDIA driver sources for linux (beta version)' arch=('x86_64') url='http://www.nvidia.com/' @@ -21,7 +21,6 @@ optdepends=('linux-headers: build the module for Arch kernel' provides=("nvidia=${pkgver}" 'nvidia-dkms') conflicts=('nvidia') options=('!strip') -install="${pkgname}.install" _srcname="NVIDIA-Linux-x86_64-${pkgver}-no-compat32" source=("http://us.download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/${_srcname}.run" 'linux-4.16.patch' diff --git a/nvidia-beta-dkms.install b/nvidia-beta-dkms.install deleted file mode 100644 index e53943333317..000000000000 --- a/nvidia-beta-dkms.install +++ /dev/null @@ -1,27 +0,0 @@ -# arg 1: the new package version -post_install() { - dkms add nvidia/${1%-*} - dkms install -m nvidia/${1%-*} - echo "==> To build your modules automatically at startup, run:" - echo " # systemctl enable dkms" -} - -# arg 1: the new package version -# arg 2: the old package versio -pre_upgrade() { - pre_remove "$2" -} - -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - post_install "$1" -} - -# arg 1: the old package version -pre_remove() { - # Remove modules using dkms - [ -n "${1%-*}" ] && dkms remove -m nvidia/${1%-*} --all || true -} - -# vim: ts=2 sw=2 et: |