summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lass2016-03-08 19:30:29 +0100
committerMichael Lass2016-03-08 19:30:29 +0100
commit734defdbdc7d48c14407e2f9c05a972eeb6a589d (patch)
treea83522ff1b8d4758c386405f7b99a774e951e9d9
parent8a88343e705ad908893fcd88e904628019f242e1 (diff)
downloadaur-734defdbdc7d48c14407e2f9c05a972eeb6a589d.tar.gz
No need for install script
Pacman now has a hook to handle DKMS packages properly. Manual adding, building and removing is not necessary anymore. Don't bump pkgrel for now as this package is currently broken anyway.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD1
-rw-r--r--openafs-modules-dkms.install18
3 files changed, 1 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 164f3670e64..b403a5dff9d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Thu Dec 17 18:37:10 UTC 2015
+# Tue Mar 8 18:29:55 UTC 2016
pkgbase = openafs-modules-dkms
pkgdesc = Kernel module for OpenAFS (dkms)
pkgver = 1.6.16
pkgrel = 1
url = http://www.openafs.org
- install = openafs-modules-dkms.install
arch = i686
arch = x86_64
arch = armv7h
diff --git a/PKGBUILD b/PKGBUILD
index 7771a19b718..38dbeab2a6a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,6 @@ conflicts=('openafs-features-libafs' 'openafs-modules' 'openafs<1.6.6-2')
options=(!emptydirs)
source=(http://openafs.org/dl/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2
dkms.conf)
-install=openafs-modules-dkms.install
sha256sums=('3431702bdcbd1b27833060c50869e618a192495877ebb0a66e4610de0b48eb81'
'ea7d1e6dfb5006016e25738be722c8793765f52ad55c0bbf588dd7fdf2bdd2bf')
diff --git a/openafs-modules-dkms.install b/openafs-modules-dkms.install
deleted file mode 100644
index 3d0ae0c5262..00000000000
--- a/openafs-modules-dkms.install
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-post_install() {
- dkms add openafs/${1%-*}
- dkms install openafs/${1%-*}
-}
-
-pre_upgrade() {
- pre_remove "$2"
-}
-
-post_upgrade() {
- post_install "$1"
-}
-
-pre_remove() {
- [ -n "${1%-*}" ] && dkms remove openafs/${1%-*} --all
-}