summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAetf2020-04-03 23:32:06 -0400
committerAetf2020-04-03 23:32:06 -0400
commit73290a3752134210d535a0e805f8d8b206e5184e (patch)
treed336be065e7a2fb505af8f0de75de7552c6a19b9
parent1cc3519831fd78f83d74a8263c7ddc40cfbd30e0 (diff)
downloadaur-mkinitcpio-modconf-hook-git.tar.gz
Remove unused parts
-rw-r--r--.SRCINFO3
-rw-r--r--90-mkinitcpio-modconf-update.hook13
-rw-r--r--PKGBUILD4
3 files changed, 5 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d51d4fae9c9..2a31f858ed6b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = mkinitcpio-modconf-hook-git
pkgdesc = Pacman hook to run mkinitcpio after updates to packaged modprobe.d config files
- pkgver = 20200401.5ebf708
+ pkgver = 20200403.6ce266e
pkgrel = 1
url = https://github.com/Aetf/mkinitcpio-modconf-hook
arch = any
license = Apache
makedepends = git
depends = mkinitcpio
+ provides = mkinitcpio-modconf-hook
source = git+https://github.com/Aetf/mkinitcpio-modconf-hook
sha256sums = SKIP
diff --git a/90-mkinitcpio-modconf-update.hook b/90-mkinitcpio-modconf-update.hook
deleted file mode 100644
index cb2c20a0ff86..000000000000
--- a/90-mkinitcpio-modconf-update.hook
+++ /dev/null
@@ -1,13 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/lib/modprobe.d/*
-Target = etc/modprobe.d/*
-
-[Action]
-Description = Updating linux initcpios...
-When = PostTransaction
-Exec = /usr/share/libalpm/scripts/mkinitcpio-install
-NeedsTargets
diff --git a/PKGBUILD b/PKGBUILD
index 964ca0dab803..9789c68469c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mkinitcpio-modconf-hook-git
_pkgname=mkinitcpio-modconf-hook
-pkgver=20200403.9c3fafe
+pkgver=20200403.6ce266e
pkgrel=1
url="https://github.com/Aetf/mkinitcpio-modconf-hook"
@@ -14,6 +14,8 @@ pkgdesc="Pacman hook to run mkinitcpio after updates to packaged modprobe.d conf
depends=('mkinitcpio')
makedepends=('git')
+provides=("$_pkgname")
+
source=("git+https://github.com/Aetf/$_pkgname")
sha256sums=('SKIP')