New package: yaboot-bin-1.3.17

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-04-23 12:02:59 +02:00
parent 890092080c
commit f2c5d280ce
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8

View file

@ -0,0 +1,27 @@
# 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
}