Merge branch 'master' of github.com:cycojesus/slackbuilds

This commit is contained in:
Gwenhael Le Moine 2010-09-16 09:02:11 +07:00
commit 95c2843181

View file

@ -1,7 +1,7 @@
#!/bin/sh -x
# variables
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
VERSION=$(date +"%Y.%m.%d_%H.%M")
BUILD=1
PACKAGER=cyco
@ -25,21 +25,23 @@ rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG
# mise en place
cd $TMP
if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY)
cd $(dirname $REPOSITORY)
git clone "git://gaffer.ptitcanardnoir.org/verbiste-el.git" $PRGNAM
fi
# cd $TMP
# if [ ! -e $REPOSITORY ] ; then
# mkdir -p $(dirname $REPOSITORY)
# cd $(dirname $REPOSITORY)
# git clone "git://gaffer.ptitcanardnoir.org/verbiste-el.git" $PRGNAM
# fi
( cd $REPOSITORY
git pull
)
# ( cd $REPOSITORY
# git pull
# )
mkdir -p $PKG$PREFIX/share/emacs/site-lisp
cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp
mkdir -p $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM
# cp -R $REPOSITORY $PKG$PREFIX/share/emacs/site-lisp
( cd $PKG$PREFIX/share/emacs/site-lisp/$PRGNAM
rm -fr .git
[ ! -e $CWD/verbiste.el ] && wget -c http://kanis.fr/hg/lisp/ivan/verbiste.el -O $CWD/verbiste.el
cp $CWD/verbiste.el .
$EMACS -batch -f batch-byte-compile *.el
)
@ -60,7 +62,7 @@ cat <<EOF > $PKG/install/slack-desc
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
$PRGNAM: $PRGNAM (Identi.ca in Emacs)
$PRGNAM: $PRGNAM (Verbiste in Emacs)
$PRGNAM:
$PRGNAM: verbiste.el is a package allowing to use the verbiste program to
$PRGNAM: conjugate/deconjugate French verbs.
@ -69,7 +71,7 @@ $PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM:
$PRGNAM: http://www.emacswiki.org/emacs/VerbisteEl
$PRGNAM: http://http://kanis.fr
$PRGNAM:
EOF