blob: 8c54c3121119e64831a697d31b12a533ddb7a3c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: James Cherti | Contact: http://www.jamescherti.com/contact
pkgname=linux-keep-modules
pkgver=1.0.1
pkgrel=4
pkgdesc="Preserve the Linux kernel modules during and after an upgrade"
url="https://github.com/jamescherti/archlinux-linux-keep-modules"
arch=('any')
license=('MIT')
depends=(bash rsync coreutils)
install="$pkgname.install"
conflicts=('kernel-modules-hook')
source=(LICENSE
cleanup-linux-modules.service
linux-modules-backup.hook
linux-modules-restore.hook
pacman-hook-linux-modules.sh)
b2sums=(1206bbbb31741e78742e1933998a55ccf859bf2452c8f62932e3cc8b12f04dbc7c28600075ae92c7ac1608ba9a2b6d413507fd2dc4dbc886f5e6968a143f8a5e
59b9214635dd0572083c6179dd8490a1f327d0babfe3244a177fd53ecddef27530e363b385f3ac96da424baba45b098cdf8f8db46b33ce4fc92fcfc106e74b69
64fc2de25de38951e806fdae6e200afb8f4345f3401c33271161db092b1e65b87538d156808e3f35e36e5368f924f7f18e97b231a1c26bfe4e37aa5f0a8b5916
1acb40ad58847fdfd5536829e374cc54a39f732d94e8023a8033bcbda81546c3ee9bafb1e6a8553b2919e9598cb2f37b1ac879210144201a0240fc0bd5fa47cd
c2df9002ff02b80d22cfe961cad83bf69046804e1b19111a84cb690b2fce04c0e7d66a0a2d2576b7080fa6457a645899b1551d339f14b6366b44e84a3e4080d0)
package() {
cd "$srcdir"
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" \
"LICENSE"
install -Dm644 -t "$pkgdir/usr/lib/systemd/system" \
"cleanup-linux-modules.service"
install -Dm644 -t "$pkgdir/usr/share/libalpm/hooks" \
"linux-modules-backup.hook" \
"linux-modules-restore.hook"
install -Dm755 -t "$pkgdir/usr/share/libalpm/scripts" \
"pacman-hook-linux-modules.sh"
}
|