New package: refind-0.11.2
If there are any problems, they can be fixed in-tree.
This commit is contained in:
parent
99d7a9e6f2
commit
c8005bd1fb
1 changed files with 65 additions and 0 deletions
65
srcpkgs/refind/template
Normal file
65
srcpkgs/refind/template
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
# Template file for 'refind'
|
||||||
|
pkgname=refind
|
||||||
|
version=0.11.2
|
||||||
|
revision=1
|
||||||
|
only_for_archs="i686 x86_64"
|
||||||
|
makedepends="gnu-efi-libs git"
|
||||||
|
depends="bash dosfstools efibootmgr"
|
||||||
|
short_desc="An EFI boot manager utility"
|
||||||
|
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="https://sourceforge.net/projects/refind/"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/refind/refind-src-${version}.tar.gz"
|
||||||
|
checksum=f64f39488bc996787f6aa33e4107ef26c8f22ef6385fdf70cf613ee049bd1dcc
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind"|g' -i refind-install
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||||
|
make all_gnuefi
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686*) _EFI_ARCH="ia32";;
|
||||||
|
x86_64*) _EFI_ARCH="x64";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
vbin mkrlconf
|
||||||
|
vbin mvrefind
|
||||||
|
vbin refind-mkdefault
|
||||||
|
vbin refind-install
|
||||||
|
vbin fonts/mkfont.sh refind-mkfont
|
||||||
|
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
|
||||||
|
vdoc COPYING.txt
|
||||||
|
vdoc README.txt
|
||||||
|
vdoc CREDITS.txt
|
||||||
|
vdoc NEWS.txt
|
||||||
|
vcopy docs/refind /usr/share/doc/refind
|
||||||
|
vcopy docs/Styles /usr/share/doc/refind
|
||||||
|
|
||||||
|
vman docs/man/mkrlconf.8
|
||||||
|
vman docs/man/mvrefind.8
|
||||||
|
vman docs/man/refind-install.8
|
||||||
|
vman docs/man/refind-mkdefault.8
|
||||||
|
|
||||||
|
vmkdir usr/share/refind
|
||||||
|
vcopy refind/refind_${_EFI_ARCH}.efi /usr/share/refind/
|
||||||
|
vcopy refind.conf-sample /usr/share/refind/
|
||||||
|
vcopy fonts /usr/share/refind/
|
||||||
|
vcopy icons /usr/share/refind/
|
||||||
|
vcopy banners /usr/share/refind/
|
||||||
|
vcopy images /usr/share/refind/
|
||||||
|
vcopy drivers_${_EFI_ARCH} /usr/share/refind/
|
||||||
|
vmkdir usr/share/refind/tools_${_EFI_ARCH}
|
||||||
|
vcopy gptsync/gptsync_${_EFI_ARCH}.efi /usr/share/refind/tools_${_EFI_ARCH}/
|
||||||
|
|
||||||
|
vmkdir etc/refind.d
|
||||||
|
vcopy keys /etc/refind.d/
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue