From b7ccc3509a6412672fbb81058e401da93a962713 Mon Sep 17 00:00:00 2001 From: dalto Date: Fri, 19 Feb 2021 16:16:30 -0600 Subject: [PATCH] Add PKGBUILD --- PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..826d3f4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +pkgname=eos-systemd-boot +pkgver=0.01 +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 + cp -a src/* "${pkgdir}" + + # mask the mkinitcpio hooks + touch "${pkgdir}/etc/pacman.d/hooks/90-mkinitcpio-install.hook" + touch "${pkgdir}/etc/pacman.d/hooks/60-mkinitcpio-remove.hook" +}