1 # Contributor: Murtuza Akhtari <inxsible at gmail dot com>
6 pkgdesc="A tool to populate UEFI Runtime Variables. Requires the kernel module efivars to be loaded."
8 url="http://sourceforge.net/projects/uefivars/"
10 depends=('efibootmgr')
11 makedepends=('git' 'pkgconfig')
13 _gitroot=git://uefivars.git.sourceforge.net/gitroot/uefivars/uefivars
19 msg "Connecting to $_gitroot..."
20 if [[ -d $_gitname ]]; then
21 cd $_gitname && git pull origin && cd ..
22 msg2 "Local files updated"
25 msg2 "Git checkout done"
28 rm -rf $_gitname-build
29 git clone $_gitname $_gitname-build
32 msg "Starting make..."
37 cd "$srcdir/$_gitname-build"
38 install -D -m755 src/uefivars/uefivars $startdir/pkg/usr/sbin/uefivars