summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cfbc2f1ff98ad3432b353500829bce75020282a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Yakov Till <yakov.till@gmail.com>
# Contributor: Federico Di Pierro <nierro92@gmail.com>
# Contributor: Sefa Eyeoglu <contact@scrumplex.net>

pkgname=systemd-boot-pacman-hook
pkgver=3
pkgrel=2
pkgdesc="Pacman hook to upgrade systemd-boot after systemd upgrade."
arch=("any")
url="https://wiki.archlinux.org/title/Systemd-boot#Automatic_update"
license=("GPL-1.0-or-later")
depends=('systemd')
source=(systemd-boot.hook)
md5sums=('cd8b1e530ce6f239923362492fda3f4f')

package() {
    install -m755 -d "${pkgdir}/usr/share/libalpm/hooks"
    install -m644 "${srcdir}/systemd-boot.hook" "${pkgdir}/usr/share/libalpm/hooks/95-systemd-boot.hook"
}