summaryrefslogtreecommitdiff
path: root/libre/grub/rePKGBUILD
blob: 909ce8550da2e4bcc4131d2dea8016ca7acb5531 (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
29
30
31
32
33
34
# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar>
source PKGBUILD
CARCH=x86_64
unset build package md5sums source
_repo=core
source=(PKGBUILD
	http://mirrors.kernel.org/archlinux/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT
	# files for pkg modifications
  menu.lst
  install-grub
  )
options=(!strip)

build() {
  cd "${srcdir}/"
  rm PKGBUILD .{INSTALL,PKGINFO} ${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT
  # put actions for package modifications below this line

  rm -v boot/grub/menu.lst sbin/install-grub
}

package() {
  cd ${srcdir}
  cp -a ./* ${pkgdir}

  install -D -m644 menu.lst $pkgdir/boot/grub/menu.lst
  install -D -m755 install-grub $pkgdir/sbin/install-grub

  rm -v menu.lst install-grub ${pkgdir}/menu.lst ${pkgdir}/install-grub

}


# vim:set ts=2 sw=2 et: