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

# source: james
TARBALL=shim-signed-1.38.tgz # combined from shim-signed and shim-helpers
MD5SUM=12fd9ab4413420bb0a8bf6829c311b75
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
BUNDLE=

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

SLACKREQ='' # 
SLACKDESC="shim-efi64: shim-efi64 $PKGVER (Secure Boot UEFI Shim)
shim-efi64: 
shim-efi64: This is the Secure Boot UEFI shim from Debian, re-packaged.  
shim-efi64: You can find the files in /usr/share/shim-efi64.
shim-efi64: This shim is for 64-bit UEFI only.
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-2041.cer ./usr/share/shim-efi64
}

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