1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
2 # Submitter: William Díaz <wdiaz[at]archlinux[dot]us>
7 pkgdesc="Funtoo Core Boot Framework for global boot loader configuration"
9 url="http://www.funtoo.org/wiki/Boot-Update"
11 depends=('python2' 'grub2')
12 install="${pkgname}.install"
13 binfont="grub-unifont-1.0"
14 source=("http://www.funtoo.org/archive/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
15 "http://www.funtoo.org/archive/grub/${binfont}.tar.bz2"
19 cd "${srcdir}/${pkgname}-${pkgver}"
21 # Install Python Modules
22 install -d "${pkgdir}"/usr/lib/python2.7/site-packages/
23 cp -R python/modules/funtoo "${pkgdir}"/usr/lib/python2.7/site-packages/ || return 1
26 install -d "${pkgdir}"/sbin
27 install sbin/boot-update "${pkgdir}"/sbin || return 1
30 install -d "${pkgdir}"/usr/share/doc/"${pkgname}"
31 install -m644 doc/*.rst "${pkgdir}"/usr/share/doc/"${pkgname}" || return
32 install -m644 "${srcdir}"/boot.conf.example "${pkgdir}"/usr/share/doc/"${pkgname}" || return 1
34 install -d "${pkgdir}"/usr/share/man/{man8,man5} || return
35 [ -e doc/boot.conf.5 ] && gzip doc/boot.conf.5
36 [ -e doc/boot-update.8 ] && gzip doc/boot-update.8
37 install -m644 doc/boot.conf.5.gz "${pkgdir}"/usr/share/man/man5
38 install -m644 doc/boot-update.8.gz "${pkgdir}"/usr/share/man/man8
41 cp -R "${srcdir}"/boot "${pkgdir}" || return 1
44 md5sums=('e1fa54ea150fca6d5f16dd005dcbe881'
45 '568d7d4a0938d950f6b3596b6c658b21'
46 '86dcfe73b0b18747e598d7b14effea7d')