blob: 92374660c1676f97e85c605ee849efc7ca71abf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Michael Lass <bevan@bi-co.net>
# Contributor: Max Roder <maxroder@web.de>
# This PKGBUILD is maintained on github:
# https://github.com/michaellass/AUR
pkgname=grml-rescueboot
pkgver=0.5.2
pkgrel=1
pkgdesc="grub2 script to add grml iso images to the grub2 boot menu"
url="http://wiki.grml.org/doku.php?id=rescueboot"
arch=(any)
license=(GPL)
depends=(grub)
install=grml-rescueboot.install
source=("http://deb.grml.org/pool/main/g/${pkgname}/${pkgname}_${pkgver}.tar.xz")
sha256sums=('8f8e9fbebf1bb11aa7ff9d8a341e0d0cc50dfe729f992eee81d35f15dfd0ca41')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
# adjust path of grub-mkconfig_lib
sed -i 's/${libdir}\/grub/${prefix}\/share\/grub/g' 42_grml
install -Dm755 42_grml ${pkgdir}/etc/grub.d/42_grml
install -Dm644 etc/default/${pkgname} ${pkgdir}/etc/default/${pkgname}
install -d ${pkgdir}/boot/grml
}
|