Magellan Linux

Annotation of /smage/trunk/core/plymouth-theme-alx/plymouth-theme-alx-1.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14289 - (hide annotations) (download)
Tue Jul 7 19:41:33 2020 UTC (3 years, 10 months ago) by niro
File size: 826 byte(s)
auto added: ver bump to 1.1-r3
1 niro 14288 # $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 niro 14289 msetfeature "!check" # no check target in Makefile
18 niro 14288 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     }