diff options
Diffstat (limited to 'libre/grub-legacy/rePKGBUILD')
-rw-r--r-- | libre/grub-legacy/rePKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/grub-legacy/rePKGBUILD b/libre/grub-legacy/rePKGBUILD new file mode 100644 index 000000000..a73289fb5 --- /dev/null +++ b/libre/grub-legacy/rePKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar> +# Contributor: André Silva <emulatorman@lavabit.com> +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: |