1 # Contributor : Alessio 'mOLOk' Bolognino <themolok at gmail dot com>
6 pkgdesc="A GUI bootloader for Apple-Intel Macs and other (U)EFI based systems"
9 depends=('glibc' 'gnu-efi')
10 url="http://refit.sourceforge.net"
11 source=(http://downloads.sourceforge.net/refit/refit-src-${pkgver}.tar.gz)
13 md5sums=('16f02fa5b5decdee17eebd5cd863b3f0')
17 cd ${srcdir}/refit-src-${pkgver}/
22 make -C gptsync -f Makefile.unix
23 rm ${srcdir}/refit-src-${pkgver}/gptsync/gptsync.o
25 make -C gptsync -f Makefile
31 cd ${srcdir}/refit-src-${pkgver}/
33 install -D ${srcdir}/refit-src-${pkgver}/gptsync/gptsync ${pkgdir}/sbin/gptsync
34 install -D -m644 ${srcdir}/refit-src-${pkgver}/refit/refit.efi ${pkgdir}/usr/lib/refit/refit/refit.efi
35 install -D -m644 ${srcdir}/refit-src-${pkgver}/gptsync/gptsync.efi ${pkgdir}/usr/lib/refit/tools/gptsync.efi
37 # install the man page
38 install ${srcdir}/refit-src-${pkgver}/gptsync/gptsync.8 ${pkgdir}/usr/share/man/man8/gptsync.8
41 install -D ${srcdir}/refit-src-${pkgver}/LICENSE.txt ${pkgdir}/usr/share/licenses/refit/LICENSE