1 # Maintainer : Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
4 _pkgname="${_actualname}-fedora"
5 pkgname="${_pkgname}-git"
9 pkgdesc="Library for building UEFI Applications using GNU toolchain - Fedora's fork"
10 arch=('i686' 'x86_64')
11 url="http://sourceforge.net/projects/gnu-efi/"
15 provides=("${_actualname}" "${_pkgname}")
16 conflicts=("${_actualname}" "${_pkgname}")
17 options=(!strip docs zipman purge !libtool emptydirs)
18 # install="${_pkgname}.install"
23 _gitroot="git://github.com/vathpela/gnu-efi.git"
24 _gitname="${_pkgname}"
31 msg "Connecting to GIT server...."
33 if [[ -d "${srcdir}/${_gitname}/" ]]; then
34 cd "${srcdir}/${_gitname}/"
38 git remote add origin "${_gitroot}"
41 git checkout "${_gitbranch}"
42 git merge "remotes/origin/${_gitbranch}"
43 msg "The local GIT repo has been updated."
45 git clone "${_gitroot}" "${_gitname}"
46 cd "${srcdir}/${_gitname}/"
47 git checkout "${_gitbranch}"
48 msg "GIT checkout done or server timeout"
59 rm -rf "${srcdir}/${_gitname}_build/" || true
60 cp -r "${srcdir}/${_gitname}" "${srcdir}/${_gitname}_build"
62 cd "${srcdir}/${_gitname}_build"
71 cd "${srcdir}/${_gitname}_build"
73 make INSTALLROOT="${pkgdir}/usr/" install