### this file is sourced not run
PKGVER=0.2
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=shim-signed.tgz
MD5SUM=879108b45e7d1e6794673af29b27517b 
SRC_URL=http://www.codon.org.uk/~mjg59/shim-signed/$TARBALL
BUNDLE=

PKG_NOSTRIP=yes # don't strip to preserve Secure Boot signatures

SLACKREQ='' # 
SLACKDESC='shim-efi64: shim-efi64 0.2 (Secure Boot UEFI Shim)
shim-efi64: 
shim-efi64: This is the Secure Boot UEFI shim from Matthew Garret (mjg59), 
shim-efi64: re-packaged. You can find the files in /usr/share/shim-efi64
shim-efi64: http://mjg59.dreamwidth.org/20303.html
shim-efi64: 
shim-efi64: Fatdog64 boot certificate is included here.
shim-efi64: 
shim-efi64: 
shim-efi64: 
shim-efi64: 
'

### default pkg_download
### default pkg_prepare
### package
pkg_package() {
	cp $SRC_DIR/../keys/fatdog64.cer ./usr/share/shim-efi64
}

### build
pkg_build() {
	mv /tmp/shim-signed /usr/share/shim-efi64 &&
	pkg_build_slackdesc
}
