1 |
# $Id$ |
# $Id$ |
2 |
|
|
3 |
: ${PCATEGORIE="xfce-base"} |
: ${PCAT="xfce-base"} |
4 |
: ${HOMEPAGE="http://www.xfce.org/"} |
: ${HOMEPAGE="http://www.xfce.org/"} |
5 |
|
|
6 |
: ${SRCFILE="${PNAME}-${PVER}.tar.bz2"} |
: ${SRCFILE="${PNAME}-${PVER}.tar.bz2"} |
16 |
case ${PNAME} in |
case ${PNAME} in |
17 |
thunar-*-plugin) URISUBDIR="thunar-plugins" ;; |
thunar-*-plugin) URISUBDIR="thunar-plugins" ;; |
18 |
xfce4-*-plugin) URISUBDIR="panel-plugins" ;; |
xfce4-*-plugin) URISUBDIR="panel-plugins" ;; |
19 |
*) URISUBDIR="xfce" ;; |
parole|orage|ristretto|xfburn) URISUBDIR="apps" ;; |
20 |
|
xfce4-dict|xfce4-mixer|xfce4-notifyd|xfce4-taskmanager|xfce4-screenshooter|xfce4-terminal) URISUBDIR="apps" ;; |
21 |
|
*) URISUBDIR="xfce" ;; |
22 |
esac |
esac |
23 |
|
|
24 |
# default SRC_URIs |
# default SRC_URIs |
25 |
SRC_URI=( |
SRC_URI=( |
26 |
${SRC_URI[*]} |
${SRC_URI[*]} |
27 |
http://mocha.xfce.org/archive/src/${URISUBDIR}/${PNAME}/${PVER%.*}/${SRCFILE} |
http://mocha.xfce.org/archive/src/${URISUBDIR}/${PNAME}/$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE} |
28 |
http://archive.xfce.org/src/${URISUBDIR}/${PNAME}/${PVER%.*}/${SRCFILE} |
http://archive.xfce.org/src/${URISUBDIR}/${PNAME}/$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE} |
29 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
30 |
) |
) |
31 |
|
|
57 |
mmake ${XFCE_MAKE_OPTS} || die |
mmake ${XFCE_MAKE_OPTS} || die |
58 |
} |
} |
59 |
|
|
60 |
|
xfce_src_check() |
61 |
|
{ |
62 |
|
cd ${SRCDIR} |
63 |
|
mmake -k check || die |
64 |
|
} |
65 |
|
|
66 |
xfce_src_install() |
xfce_src_install() |
67 |
{ |
{ |
68 |
cd ${SRCDIR} |
cd ${SRCDIR} |
136 |
xfce_update_icon_cache |
xfce_update_icon_cache |
137 |
} |
} |
138 |
|
|
139 |
export_inherits xfce src_prepare src_compile src_install postinstall postremove |
export_inherits xfce src_prepare src_compile src_check src_install postinstall postremove |