PATCH_LIST="add-sys-dir.diff" FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH="http://git.formilux.org/?p=dist/src/system-base.git;a=snapshot;h=806e231e473697fbb23b2b440388d0b7c10cc9d8;sf=tgz" FLXARCH=noarch MAKEDEPENDS= FILE_LIST=.flxfiles FORMILUX_RELEASE=formilux-1.0.0 function do_compile { rm -f etc/formilux-release echo $FORMILUX_RELEASE > etc/formilux-release } function do_prepack { while read file owner perm rest; do # by default, a non-existing entry is taken as a directory if [ ! -L "$file" ] && [ ! -e "$file" -o -d "$file" ]; then [ -d "$ROOTDIR/$file" ] || mkdir -p $ROOTDIR/$file else cp -a --parents "$file" "$ROOTDIR/" fi chown -h $owner $ROOTDIR/$file if [ ! -L "$ROOTDIR/$file" ]; then chmod $perm $ROOTDIR/$file; fi done < $FILE_LIST #cp -a --parents $(cut -f1 -d' ' $FILE_LIST|grep -v '^\.$') $ROOTDIR/ } function do_strip { : } function do_tar_src { git-repo-config tar.umask 022 git-tar-tree HEAD $PKGRADIX-$PKGVER | gzip -c9 > $PKGRADIX-$PKGVER.tgz }