various adjustments and upgrades

This commit is contained in:
Gwenhael Le Moine 2011-05-16 08:17:14 +07:00
parent 5639d59230
commit 48b63028ff
5 changed files with 10 additions and 7 deletions

View file

@ -4,7 +4,7 @@ set -x
CWD=$(pwd)
PRGNAM=$(basename $CWD)
VERSION=5.1
VERSION=5.1.1
BUILD=1

View file

@ -66,7 +66,8 @@ done
cd $CWD/themes
for el in \
"https://github.com/djcb/elisp/raw/master/themes/zenburn-theme.el" \
"https://github.com/monotux/emacs-d/raw/master/themes/whiteboard-theme.el" \
"https://github.com/djcb/elisp/raw/master/themes/zenburn-theme.el" ;
do
elfileget_or_update "$el"
done
@ -75,8 +76,8 @@ mkdir -p $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes $PKG$PREFIX/share/ema
cd $PKG$PREFIX/share/emacs/site-lisp/
cp $CWD/els/*.el .
$EMACS -batch -f batch-byte-compile *.el
# cd $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes
# cp $CWD/themes/*.el .
cd $PKG$PREFIX/share/emacs/$EMACS_VERSION/etc/themes
cp $CWD/themes/*.el .
# correction
cd $PKG

View file

@ -68,8 +68,8 @@ if [ ! -e $CWD/$PRGNAM-$VERSION.tar.?z* ] ; then
fi
( cd $REPOSITORIES/$PRGNAM/$BRANCH
[ -e Makefile ] && make distclean
bzr pull
[ -e Makefile ] && make distclean
)
mkdir -p $TMP/$PRGNAM-$VERSION
SRCDIR=$REPOSITORIES/$PRGNAM/$BRANCH

View file

@ -4,8 +4,8 @@
CWD=$(pwd)
PRGNAM=$(basename $CWD)
VERSION=2.2.0_01_Beta_Without_JRE
RELEASE="2.2.0%20update%201"
VERSION=2.2.3_04_Beta_Without_JRE
RELEASE="2.2.3%20update%204"
ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
TAG=${TAG:-cyco}

View file

@ -55,6 +55,7 @@ function build_install() {
find $PKG$PREFIX/man -not -name "*.gz" -exec gzip -9 {} \;
}
mkdir -p $TMP
( cd $TMP
get_sources_here subtle
build_install subtle
@ -66,6 +67,7 @@ function build_install() {
fi
)
mkdir -p $PKG$PREFIX/share/subtle/
( cd $PKG$PREFIX/share/subtle/
get_sources_here subtle-contrib
mv subtle-contrib-$VERSION subtle-contrib