Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/plymouth-theme-alx/plymouth-theme-alx-1.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10766 - (show annotations) (download)
Thu Aug 31 08:15:23 2017 UTC (6 years, 7 months ago) by niro
File size: 775 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="plymouth-theme-alx"
4 PVER="1.1"
5 PBUILD="r2"
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 sminclude mbuild
18
19 SRC_URI=( mirror://${PNAME}/${SRCFILE} )
20
21 UP2DATE="echo ${PVER}"
22
23 postinstall()
24 {
25 if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
26 then
27 plymouth-set-default-theme alx
28 /usr/$(mlibdir)/plymouth/plymouth/plymouth-update-initrd
29 fi
30 }
31
32 postremove()
33 {
34 if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
35 then
36 if [[ -z $(plymouth-set-default-theme --list | grep alx) ]]
37 then
38 plymouth-set-default-theme --reset
39 /usr/$(mlibdir)/plymouth/plymouth/plymouth-update-initrd
40 fi
41 fi
42 }