aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a6c68c20586523bc7cf7c8d8aa7fdc43ded601e (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
# Maintainer: shadichy <shadichy.dev@gmail.com>
pkgbase=grub-secureboot-scripts
pkgname=$pkgbase
pkgver=0.0.1
pkgrel=1
pkgdesc='Grub SecureBoot scripts to setup and enable SecureBoot using sbctl fully automatic'
arch=(any)
march=""
url='https://github.com/shadichy/grub-sbctl'
license=('GPL')
depends=('grub' 'sbctl' 'bash')
source=('gsb.conf' 'grub-sbctl-sign' 'setup.sh' '91-sign-grub.hook')
sha512sums=('40e0388f1e2de0eb5f5f67c3eb0853c51463c946c6aecd75bc91649f51610992a4fc3cadf76f852bf40d80f06e735a56a174d19eeb3cf449c6cc19b7dc1fc84c' 
'2f61539475c65eff8b39e2813f8c932738f1ed5c4c8e4837c180f249522f690780b13957b2b02998c7e35751a4a48bcec4dfebdffbb4f3b7a6186d6de4e92f9d' 
'65b093f48f6691933c4b5001462c21b8f746829abc6737634d3dbe75de778e06e049de6fc81c984b09713ddbc4847e1e3abf0b5d742494fc2b89f35c0dd054b6' 
'27bf0637e6c58bee0fadaa5a31074dac0b9aa830ae2bf369174c17388363947ba6936af71dea0d05eeab004419cf1cdb0870ac3c141a7bcd360cd687e610b977')

package() {
    mkdir -p $pkgdir/etc $pkgdir/usr/bin $pkgdir/usr/share/grub/sbctl $pkgdir/usr/share/libalpm/hooks
    install -dm644 $pkgdir/etc
    install -dm755 $pkgdir/usr/bin
    install -dm644 $pkgdir/usr/share/grub/sbctl
    install -dm644 $pkgdir/usr/share/libalpm/hooks
    install -m644 'gsb.conf' $pkgdir/etc
    install -m644 '91-sign-grub.hook' $pkgdir/usr/share/libalpm/hooks
    install -m755 'grub-sbctl-sign' $pkgdir/usr/bin
    install -m755 'setup.sh' $pkgdir/usr/share/grub/sbctl
}