Commit 22474eae authored by mara's avatar mara

added build x11 packages of main script

parent 47013427
......@@ -118,11 +118,23 @@ build() {
t=$(echo ${_PKG} | cut -d '/' -f1)
p=$(echo ${_PKG} | cut -d '/' -f2)
# build kde series
if [[ $t == kde && -e ${_BUILD}/$t/.rules ]]; then
source ${_BUILD}/$t/.rules
continue
fi
# build x11 series
if [[ $t == x ]]; then
X11_PKG_PATH=$(find ${_BUILD}/$t/ -type f -name "${p}-*.?z")
X11_MODULE=$(echo ${X11_PKG_PATH} | rev | cut -d '/' -f2 | rev)
if [[ ! -z $X11_MODULE ]]; then
x11_root="x11"
source ${_BUILD}/$t/$x11_root/.rules
continue
fi
fi
[[ ! -d ${_BUILD}/${_PKG} ]] && ( mkdir -p ${_BUILD}/${_PKG} || return 1 )
# if [[ ! $(ls ${_INSTALL}/$t/ | grep "$p-") ]];then
# removepkg $p
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment