diff options
author | Keshav Amburay | 2013-06-23 05:08:41 +0530 |
---|---|---|
committer | Keshav Amburay | 2013-06-23 05:08:41 +0530 |
commit | 562cb2f4d95ef372115a4fd1edc18c8ccb600460 (patch) | |
tree | bcf5076dbd54b98de4bfdcd8d72bfa2b31148c8f | |
download | aur-562cb2f4d95ef372115a4fd1edc18c8ccb600460.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 62 | ||||
-rw-r--r-- | efitools.install | 7 |
4 files changed, 103 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f7e839e33608 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = efitools-git + pkgdesc = Tools to create and install UEFI Secure Boot Certificates, Keys and Signed Binaries - GIT Version + pkgver = v1.4.1.6.gf5d338c + pkgrel = 1 + url = http://blog.hansenpartnership.com/efitools-1-4-with-linux-key-manipulation-utilities-released/ + install = efitools.install + arch = x86_64 + license = GPL2 + license = LGPL2.1 + makedepends = git + makedepends = gnu-efi-libs + makedepends = help2man + depends = dosfstools + depends = efivar + depends = efibootmgr + depends = sbsigntool + optdepends = mactel-boot: For bless command in Apple Mac systems + provides = efitools + conflicts = efitools + options = !strip + options = !makeflags + source = efitools::git+git://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git#branch=master + sha1sums = SKIP + +pkgname = efitools-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..cbdfab6afa93 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +src/ +pkg/ +*.pkg.tar* +*.tar.xz +*.tar.gz +*.zip +*.sig +*.log* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dd4b394bae09 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,62 @@ +# Maintainer: Keshav Padram <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> + +_gitroot="git://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git" +_gitname="efitools" +_gitbranch="master" + +_pkgname="efitools" +pkgname="${_pkgname}-git" + +pkgver=v1.4.1.6.gf5d338c +pkgrel=1 +pkgdesc="Tools to create and install UEFI Secure Boot Certificates, Keys and Signed Binaries - GIT Version" +url="http://blog.hansenpartnership.com/efitools-1-4-with-linux-key-manipulation-utilities-released/" +arch=('x86_64') +license=('GPL2' 'LGPL2.1') + +makedepends=('git' 'gnu-efi-libs' 'help2man') +depends=('dosfstools' 'efivar' 'efibootmgr' 'sbsigntool') +optdepends=('mactel-boot: For bless command in Apple Mac systems') + +conflicts=("${_pkgname}") +provides=("${_pkgname}") + +options=('!strip' '!makeflags') +install="${_pkgname}.install" + +source=("${_gitname}::git+${_gitroot}#branch=${_gitbranch}") + +sha1sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_gitname}/" + echo "$(git describe --tags)" | sed 's|-|.|g' +} + +build() { + + rm -rf "${srcdir}/${_gitname}_build/" || true + cp -r "${srcdir}/${_gitname}" "${srcdir}/${_gitname}_build" + cd "${srcdir}/${_gitname}_build/" + + ## Unset all compiler FLAGS + unset CFLAGS + unset CPPFLAGS + unset CXXFLAGS + unset LDFLAGS + unset MAKEFLAGS + + sed 's|-DEFI_FUNCTION_WRAPPER|-DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI|g' -i "${srcdir}/${_gitname}_build/Make.rules" + + make V=1 -j1 + echo + +} + +package() { + + cd "${srcdir}/${_gitname}_build/" + make DESTDIR="${pkgdir}/" install + echo + +} diff --git a/efitools.install b/efitools.install new file mode 100644 index 000000000000..2821d10d8032 --- /dev/null +++ b/efitools.install @@ -0,0 +1,7 @@ +post_install() { + true +} + +post_upgrade() { + post_install +} |