summarylogtreecommitdiffstats
path: root/kdbus-git.install
diff options
context:
space:
mode:
authorDaniel Nagy2015-06-08 19:45:55 +0200
committerDaniel Nagy2015-06-08 19:45:55 +0200
commitac60145e408964c4347ad7ea78517454fb86d46f (patch)
tree1f8cd9ffbefe5a0835203c5d278697262ecbfd60 /kdbus-git.install
downloadaur-ac60145e408964c4347ad7ea78517454fb86d46f.tar.gz
import to aur4
Diffstat (limited to 'kdbus-git.install')
-rw-r--r--kdbus-git.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/kdbus-git.install b/kdbus-git.install
new file mode 100644
index 000000000000..7e6b85a5959f
--- /dev/null
+++ b/kdbus-git.install
@@ -0,0 +1,17 @@
+post_install() {
+ dkms install -m kdbus/${1%-*}
+}
+
+pre_upgrade() {
+ dkms remove -m kdbus/${2%-*} --all
+}
+
+post_upgrade() {
+ dkms install -m kdbus/${1%-*}
+}
+
+pre_remove() {
+ dkms remove -m kdbus/${1%-*} --all
+}
+
+