Contents of /smage/trunk/deprecated/plymouth-theme-alx/plymouth-theme-alx-1.1-r3.smage2
Parent Directory | Revision Log
Revision 16236 -
(show annotations)
(download)
Fri Sep 22 07:37:50 2023 UTC (12 months ago) by niro
File size: 826 byte(s)
Fri Sep 22 07:37:50 2023 UTC (12 months ago) by niro
File size: 826 byte(s)
-moved to 'deprecated'
1 | # $Id$ |
2 | |
3 | PNAME="plymouth-theme-alx" |
4 | PVER="1.1" |
5 | PBUILD="r3" |
6 | |
7 | PCAT="x11-themes" |
8 | |
9 | DESCRIPTION="ALX plymouth theme." |
10 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/Plymouth" |
11 | |
12 | DEPEND=">= sys-apps/plymouth-0.8" |
13 | |
14 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | msetfeature "!check" # no check target in Makefile |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) |
21 | |
22 | UP2DATE="echo ${PVER}" |
23 | |
24 | postinstall() |
25 | { |
26 | if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] |
27 | then |
28 | plymouth-set-default-theme alx |
29 | /usr/$(mlibdir)/plymouth/plymouth/plymouth-update-initrd |
30 | fi |
31 | } |
32 | |
33 | postremove() |
34 | { |
35 | if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] |
36 | then |
37 | if [[ -z $(plymouth-set-default-theme --list | grep alx) ]] |
38 | then |
39 | plymouth-set-default-theme --reset |
40 | /usr/$(mlibdir)/plymouth/plymouth/plymouth-update-initrd |
41 | fi |
42 | fi |
43 | } |