summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5d98bafb1199a6479d88282fcc86f52b8bd4fae (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
40
41
42
43
44
45
# Maintainer: Darnell Andries <darnell@andries.ca>
pkgname=sbsimple
pkgver=0.1.0
pkgrel=2
epoch=
pkgdesc="Utility for setting up UEFI secure boot in a simple way"
arch=('x86_64')
url="https://github.com/DJAndries/sbsimple"
license=('MIT')
groups=()
depends=('openssl' 'coreutils' 'util-linux' 'efitools' 'sbsigntools' 'zenity' 'efibootmgr')
makedepends=('git')
checkdepends=()
optdepends=('grub')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
noextract=()

source=("git+https://github.com/djandries/sbsimple")
sha256sums=("SKIP")

md5sums=()
validpgpkeys=()

package() {
	cd "$pkgname"
	mkdir -p "$pkgdir/usr/bin"
	mkdir -p "$pkgdir/usr/share/sbsimple"

	cp "sbsimple" "$pkgdir/usr/bin/sbsimple"
	chmod 755 "$pkgdir/usr/bin/sbsimple"
	for FILE in sbsimple-*; do
		cp "$FILE" "$pkgdir/usr/share/sbsimple/$FILE"
	done

	mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
	cp ./LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

	chmod -R 755 "$pkgdir/usr/share/sbsimple"
}