summaryrefslogtreecommitdiff
path: root/libre/grub/rePKGBUILD
blob: b14550034ec14ab6bd69761b89d18e6179807945 (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
35
36
37
# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar>
# Contributor: André Silva <andre.paulista@adinet.com.uy>
source PKGBUILD
CARCH=i686
unset build package md5sums source
_repo=core
source=(PKGBUILD
	#http://mirrors.kernel.org/archlinux/${_repo}/os/${CARCH}/${pkgname%}-$pkgver-$pkgrel-$CARCH$PKGEXT
        http://mirrors.kernel.org/archlinux/${_repo}/os/${CARCH}/${pkgname%}-$pkgver-21-$CARCH$PKGEXT
	# files for pkg modifications
  menu.lst
  install-grub
  )
options=(!strip)

build() {
  cd "${srcdir}/"
  #rm PKGBUILD .{INSTALL,PKGINFO} ${pkgname%}-$pkgver-$pkgrel-$CARCH$PKGEXT
   rm PKGBUILD .{INSTALL,PKGINFO} ${pkgname%}-$pkgver-21-$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: