13 |
|
|
14 |
sminclude mtools |
sminclude mtools |
15 |
|
|
16 |
|
case ${PNAME} in |
17 |
|
thunar-*-plugin) URISUBDIR="thunar-plugins" ;; |
18 |
|
xfce4-*-plugin) URISUBDIR="panel-plugins" ;; |
19 |
|
*) URISUBDIR="xfce" ;; |
20 |
|
esac |
21 |
|
|
22 |
# default SRC_URIs |
# default SRC_URIs |
23 |
SRC_URI=( |
SRC_URI=( |
24 |
${SRC_URI[*]} |
${SRC_URI[*]} |
25 |
http://mocha.xfce.org/archive/src/xfce/${PNAME}/${PVER%.*}/${SRCFILE} |
http://mocha.xfce.org/archive/src/${URISUBDIR}/${PNAME}/${PVER%.*}/${SRCFILE} |
26 |
|
http://archive.xfce.org/src/${URISUBDIR}/${PNAME}/${PVER%.*}/${SRCFILE} |
27 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
28 |
) |
) |
29 |
|
|
33 |
xfce_configure() |
xfce_configure() |
34 |
{ |
{ |
35 |
local configure_opts="$@" |
local configure_opts="$@" |
36 |
mconfigure ${configure_opts} || die |
mconfigure \ |
37 |
|
--libexecdir=/usr/$(mlibdir)/${PNAME} \ |
38 |
|
--with-html-dir=/usr/share/doc/${PNAME}-${PVER}/html \ |
39 |
|
--disable-debug \ |
40 |
|
--disable-static \ |
41 |
|
${configure_opts} \ |
42 |
|
|| die |
43 |
} |
} |
44 |
|
|
45 |
xfce_src_prepare() |
xfce_src_prepare() |
51 |
{ |
{ |
52 |
cd ${SRCDIR} |
cd ${SRCDIR} |
53 |
|
|
54 |
xfce_configure \ |
xfce_configure || die |
|
--libexecdir=/usr/$(mlibdir)/${PNAME} \ |
|
|
--with-html-dir=/usr/share/doc/${PNAME}-${PVER}/html \ |
|
|
--disable-debug \ |
|
|
--disable-static \ |
|
|
|| die |
|
|
|
|
55 |
mmake ${XFCE_MAKE_OPTS} || die |
mmake ${XFCE_MAKE_OPTS} || die |
56 |
} |
} |
57 |
|
|