void-packages/srcpkgs/yaboot-bin/template

28 lines
750 B
Bash

# Template file for 'yaboot-bin'
pkgname=yaboot-bin
version=1.3.17
revision=1
_deb_rev=4
archs="ppc*"
short_desc="Bootloader for PowerMac and IBM CHRP computers"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2.0-or-later"
homepage="https://wiki.debian.org/YaBoot"
distfiles="https://cdimage.debian.org/cdimage/cd-sources/yaboot_${version}-${_deb_rev}_powerpc.deb"
checksum=8d043a8aaeee452ae011d475a6da93c79b461c14d3fd232050e93302de63cdcb
nopie=yes
do_extract() {
ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/yaboot_${version}-${_deb_rev}_powerpc.deb
tar xf data.tar.xz
}
do_install() {
vmkdir usr
cp -a usr/* "${DESTDIR}"/usr
mv "${DESTDIR}"/usr/{s,}bin
# Remove unused files
rm -rf "${DESTDIR}"/usr/share/lintian
}