summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-08-23 21:50:01 -0400
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-28 18:37:18 -0300
commitb7bd3aef1d6c3e634052bdbb48132ae1f5e928bf (patch)
tree1bc908d2ace0f8a471d6ded416d2ebe97b7c0966
parente6535c873331a54a21435d8e9450b09a596a6874 (diff)
adding GNUAxiom grub2 theme
-rw-r--r--pcr/grub2-theme-gnuaxiom/PKGBUILD24
-rw-r--r--pcr/grub2-theme-gnuaxiom/grub2-theme-gnuaxiom.install10
2 files changed, 34 insertions, 0 deletions
diff --git a/pcr/grub2-theme-gnuaxiom/PKGBUILD b/pcr/grub2-theme-gnuaxiom/PKGBUILD
new file mode 100644
index 000000000..2cdef15fc
--- /dev/null
+++ b/pcr/grub2-theme-gnuaxiom/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+
+pkgname=grub2-theme-gnuaxiom
+_pkgname=GNUAxiom
+pkgver=1.0
+pkgrel=1
+pkgdesc="A Parabola GNU/Linux-libre theme for grub2, forked from Axiom."
+arch=('any')
+url="https://github.com/g4jc/GNUAxiom"
+license=('GPL2')
+makedepends=('grub')
+source=("https://github.com/g4jc/$_pkgname/archive/$pkgver.tar.gz")
+install=("$pkgname.install")
+sha512sums=('3ffee3d205d7a85a5272b46d32d608d42844e5e3941262e5b59f88b193a1822fbe720cbaee1d30540a7b4034d267fcf533ca7a3b9f5124b627ba9538a7120d3c')
+
+prepare() {
+cd $srcdir
+ mv $_pkgname-$pkgver $_pkgname
+}
+
+package() {
+ cd $srcdir
+ find . -type f -exec install -D -m644 {} ${pkgdir}/boot/grub/themes/{} \;
+}
diff --git a/pcr/grub2-theme-gnuaxiom/grub2-theme-gnuaxiom.install b/pcr/grub2-theme-gnuaxiom/grub2-theme-gnuaxiom.install
new file mode 100644
index 000000000..a8470e53b
--- /dev/null
+++ b/pcr/grub2-theme-gnuaxiom/grub2-theme-gnuaxiom.install
@@ -0,0 +1,10 @@
+post_install() {
+ cat << _EOF
+
+==> Installation:
+==> Add theme to your /etc/default/grub: GRUB_THEME="/boot/grub/themes/GNUAxiom/theme.txt"
+==> Preferred resolution 1024x768: GRUB_GFXMODE=1024x768
+==> Update grub:# grub-mkconfig -o /boot/grub/grub.cfg
+
+_EOF
+} \ No newline at end of file