summaryrefslogtreecommitdiff
path: root/libre/grub/rePKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-08-20 15:19:05 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-08-20 15:19:05 -0300
commitbe581da336f0c3fb6e2b4ddbeafbfe6d5b35c585 (patch)
treea4dff19a8d4cdfec44fb38f55a92aa5ccaaa2048 /libre/grub/rePKGBUILD
parentf57da435c77f3eb8423e9921bfc4b139f7637d18 (diff)
downloadabslibre-be581da336f0c3fb6e2b4ddbeafbfe6d5b35c585.tar.gz
abslibre-be581da336f0c3fb6e2b4ddbeafbfe6d5b35c585.tar.bz2
abslibre-be581da336f0c3fb6e2b4ddbeafbfe6d5b35c585.zip
libre/grub-0.97-20
Parabola rebranded
Diffstat (limited to 'libre/grub/rePKGBUILD')
-rw-r--r--libre/grub/rePKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/libre/grub/rePKGBUILD b/libre/grub/rePKGBUILD
new file mode 100644
index 000000000..909ce8550
--- /dev/null
+++ b/libre/grub/rePKGBUILD
@@ -0,0 +1,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: