#!/bin/mkpkg # description: Tools and libraries to work with EFI variables # url: https://github.com/rhboot/efivar name=efivar version=39 release=1 source=(https://github.com/rhboot/$name/archive/$version/$name-$version.tar.gz) sha256sums=( "c9edd15f2eeeea63232f3e669a48e992c7be9aff57ee22672ac31f5eca1609a6" ) build() { cd $name-$version # Fix -Werror with clang sed -i 's/-Werror//' src/include/defaults.mk make CC=clang ENABLE_DOCS=0 \ libdir=/lib \ includedir=/include \ bindir=/bin make install CC=clang ENABLE_DOCS=0 \ DESTDIR=$PKG \ libdir=/lib \ includedir=/include \ bindir=/bin install -d $PKG/usr/share/man/man1 install -m644 docs/efivar.1 $PKG/usr/share/man/man1/ } signify() { untrusted comment: public key RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 } # vim: filetype=sh