Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive_pkgs.git;a=commitdiff;h=0f6dbd8e6564acc02153fb2ccecd6ad190e2d8ec
commit 0f6dbd8e6564acc02153fb2ccecd6ad190e2d8ec Author: Janos Kovacs <[EMAIL PROTECTED]> Date: Sun Jan 27 10:23:34 2008 +0100 grub-theme-fwlive-0.2.7-1-i686 * add grub-theme-fwlive to fwlive diff --git a/source/base-extra/grub-theme-fwlive/FrugalBuild b/source/base-extra/grub-theme-fwlive/FrugalBuild new file mode 100644 index 0000000..c10119d --- /dev/null +++ b/source/base-extra/grub-theme-fwlive/FrugalBuild @@ -0,0 +1,24 @@ +# Compiling time: 0.02 SBU +# Maintainer: Janny <[EMAIL PROTECTED]> + +pkgname=grub-theme-fwlive +_F_archive_name=fwlive-grub-theme +pkgver=0.2.7 +pkgrel=1 +pkgdesc="FwLive theme for GRUB gfxboot." +url="http://frugalware.org/~janny/fwlive_themes" +rodepends=('grub') +makedepends=('gfxboot>=3.3.22' 'perl-html-parser' 'cpio') +groups=('base-extra') +archs=('i686' 'x86_64') +up2date="lynx -dump $url | Flasttar" +source=($url/$_F_archive_name-$pkgver.tar.bz2) +options=('nodocs') +sha1sums=('a88bacff3199d9f5e85dce5e2f3fe4e6d6893f82') + +build() +{ + cd $Fsrcdir/themes/fwlive + make BINDIR=/usr/sbin/ + Ffilerel boot/message /boot/grub/message-fwlive +} diff --git a/source/base-extra/grub-theme-fwlive/grub-theme-fwlive.install b/source/base-extra/grub-theme-fwlive/grub-theme-fwlive.install new file mode 100644 index 0000000..a593f1c --- /dev/null +++ b/source/base-extra/grub-theme-fwlive/grub-theme-fwlive.install @@ -0,0 +1,25 @@ +post_install() +{ + [ -f /boot/grub/message ] && rm /boot/grub/message + [ -h /boot/grub/message ] || ln -s message-fwlive /boot/grub/message +} + +post_upgrade() +{ + post_install +} + +post_remove() +{ + rm /boot/grub/message + if [ "`ls -1 /boot/grub/message-* 2>/dev/null | wc -l`" -gt 0 ]; then + ln -s `ls -1 /boot/grub/message-* | head -n 1` /boot/grub/message + fi +} + +op=$1 +shift + +$op $* + +# vim: ft=sh _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git