parch-systemd-boot/PKGBUILD

25 lines
721 B
Text
Raw Normal View History

2021-02-19 16:16:30 -06:00
pkgname=eos-systemd-boot
2021-02-20 14:18:38 -06:00
pkgver=0.02
2021-02-19 16:16:30 -06:00
pkgrel=1
pkgdesc='Enables systemd-boot automation using kernel-install on EndeavourOS'
arch=(any)
url='https://gitlab.com/dalto.8/eos-systemd-boot'
license=(GPL2)
depends=(systemd)
source=(git+https://gitlab.com/dalto.8/eos-systemd-boot.git)
sha256sums=('SKIP')
package()
{
# install the package files
2021-02-19 16:36:31 -06:00
cp -a ${srcdir}/${pkgname}/src/usr ${pkgdir}
2021-02-19 16:16:30 -06:00
2021-02-20 14:18:38 -06:00
# mask the default loaderentry creator
touch "${pkgdir}/etc/kernel/install.d/90-loaderentry.install"
2021-02-19 16:16:30 -06:00
# mask the mkinitcpio hooks
2021-02-19 16:36:31 -06:00
mkdir -p "${pkgdir}/etc/pacman.d/hooks"
2021-02-19 16:16:30 -06:00
touch "${pkgdir}/etc/pacman.d/hooks/90-mkinitcpio-install.hook"
touch "${pkgdir}/etc/pacman.d/hooks/60-mkinitcpio-remove.hook"
}