summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e36e64660b15d7ddaa28f1251f0973f81a5644ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Oliver Mangold <o.mangold@gmail.com>

pkgname=kmodcache
pkgver=1.3
pkgrel=1
pkgdesc="Scripts to make a copy of installed kernel modules, which will be used for on-demand loading from then point on, thus make reboots unnecessary after kernel updates."
arch=('any')
license=('GPL3')
depends=()
makedepends=()
source=(pre-upgrade post-upgrade kmodcache-pre.hook kmodcache-post.hook)
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')

package() {
	install -m 755 -d "$pkgdir"/usr/lib/kmodcache "$pkgdir"/usr/share/libalpm/hooks
	install -m 755 {pre,post}-upgrade "$pkgdir"/usr/lib/kmodcache
	install -m 644 *.hook "$pkgdir"/usr/share/libalpm/hooks
}