Date: Monday, October 17, 2016 @ 19:34:02
  Author: tpowa
Revision: 278904

upgpkg: refind-efi 0.10.4-1

bump to latest version

Modified:
  refind-efi/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-10-17 18:44:19 UTC (rev 278903)
+++ PKGBUILD    2016-10-17 19:34:02 UTC (rev 278904)
@@ -3,6 +3,7 @@
 # Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) 
(gemmaeiil) (ddoott) (ccoomm)>
 
 _USE_GNU_EFI="1"
+_PXE='0'
 
 #######
 [[ "${CARCH}" == "x86_64" ]] && _TIANO_ARCH="X64"
@@ -13,7 +14,7 @@
 #######
 
 pkgname="refind-efi"
-pkgver="0.9.2"
+pkgver="0.10.4"
 pkgrel="1"
 pkgdesc="Rod Smith's fork of rEFIt UEFI Boot Manager"
 url="http://www.rodsbooks.com/refind/index.html";
@@ -28,9 +29,10 @@
 
 install="${pkgname}.install"
 
-source=("http://downloads.sourceforge.net/refind/refind-src-${pkgver}.zip";
+#source=("http://downloads.sourceforge.net/refind/refind-src-${pkgver}.zip";
+source=("http://downloads.sourceforge.net/refind/refind-src-${pkgver}.tar.gz";
         'refind_linux.conf')
-md5sums=('23efca89e0de3e11c28b8ac82ec1c6e4'
+md5sums=('6c8720288616b9d7d75ae540e0b62c69'
          '12ce3e22a216e7b25c253478a34713b4')
 
 if [[ "${_USE_GNU_EFI}" == "1" ]]; then
@@ -258,8 +260,10 @@
                echo
                
        fi
-        if [[ "${CARCH}" == "x86_64" ]];then
-            cd "${srcdir}/refind-${pkgver}/net"
+#        if [[ "${CARCH}" == "x86_64" ]];then
+         if [[ "${CARCH}" == 'x86_64' ]] && [[ "${_PXE}" == '1' ]]; then
+
+cd "${srcdir}/refind-${pkgver}/net"
             msg "Unset all compiler FLAGS"
             unset CFLAGS
             unset CPPFLAGS
@@ -286,15 +290,16 @@
        msg "Install UEFI applications built from rEFInd"
        install -d "${pkgdir}/usr/share/refind/tools_${_TIANO_S_ARCH}"
        install -D -m0644 
"${srcdir}/refind-${pkgver}/gptsync/gptsync_${_TIANO_S_ARCH}.efi" 
"${pkgdir}/usr/share/refind/tools_${_TIANO_S_ARCH}/gptsync_${_TIANO_S_ARCH}.efi"
-        if [[ "${CARCH}" == "x86_64" ]]; then
+#        if [[ "${CARCH}" == "x86_64" ]]; then
+         if [[ "${CARCH}" == "x86_64" ]] && [[ "${_PXE}" == '1' ]]; then
             install -D -m0644 "${srcdir}/refind-${pkgver}/net/bin/ipxe.efi" 
"${pkgdir}/usr/share/refind/tools_${_TIANO_S_ARCH}/ipxe_${_TIANO_S_ARCH}.efi"
             install -D -m0644 
"${srcdir}/refind-${pkgver}/net/bin/ipxe_discovery.efi" 
"${pkgdir}/usr/share/refind/tools_${_TIANO_S_ARCH}/ipxe_discovery_${_TIANO_S_ARCH}.efi"
         fi
        msg "Install rEFInd helper scripts"
        install -d "${pkgdir}/usr/bin/"
-       install -D -m0755 "${srcdir}/refind-${pkgver}/install.sh" 
"${pkgdir}/usr/bin/refind-install"
-       install -D -m0755 "${srcdir}/refind-${pkgver}/mkrlconf.sh" 
"${pkgdir}/usr/bin/refind-mkrlconf"
-       install -D -m0755 "${srcdir}/refind-${pkgver}/mvrefind.sh" 
"${pkgdir}/usr/bin/refind-mvrefind"
+       install -D -m0755 "${srcdir}/refind-${pkgver}/refind-install" 
"${pkgdir}/usr/bin/refind-install"
+       install -D -m0755 "${srcdir}/refind-${pkgver}/mkrlconf" 
"${pkgdir}/usr/bin/refind-mkrlconf"
+       install -D -m0755 "${srcdir}/refind-${pkgver}/mvrefind" 
"${pkgdir}/usr/bin/refind-mvrefind"
        install -D -m0755 "${srcdir}/refind-${pkgver}/fonts/mkfont.sh" 
"${pkgdir}/usr/bin/refind-mkfont"
        
        msg "Install the rEFInd sample config files"
@@ -316,9 +321,11 @@
        rm -f "${pkgdir}/usr/share/refind/fonts/mkfont.sh"
        
        msg "Install the rEFInd icons"
-       install -d "${pkgdir}/usr/share/refind/icons/"
-       install -D -m0644 "${srcdir}/refind-${pkgver}/icons"/* 
"${pkgdir}/usr/share/refind/icons/"
-       
+       install -d "${pkgdir}/usr/share/refind/icons/svg/" 
"${pkgdir}/usr/share/refind/icons/licenses/"
+       install -D -m0644 "${srcdir}/refind-${pkgver}/icons/svg"/* 
"${pkgdir}/usr/share/refind/icons/svg/"
+       install -D -m0644 "${srcdir}/refind-${pkgver}/icons"/*.png 
"${pkgdir}/usr/share/refind/icons/"
+       install -D -m0644 "${srcdir}/refind-${pkgver}/icons/licenses"/* 
"${pkgdir}/usr/share/refind/icons/licenses/"
+
        msg "Install the rEFInd images"
        install -d "${pkgdir}/usr/share/refind/images/"
        install -D -m0644 "${srcdir}/refind-${pkgver}/images"/*.{png,bmp} 
"${pkgdir}/usr/share/refind/images/"

Reply via email to