qtile-extras and more

This commit is contained in:
Gwenhael Le Moine 2023-10-24 08:16:12 +02:00
parent 54f21ae529
commit 4d5910cab3
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
6 changed files with 11 additions and 9 deletions

View file

@ -1,8 +1,8 @@
#!/bin/bash
set -x -e
VERSION=${VERSION:-18}
FLAVOR=${FLAVOR:-"server-release-gcc10-glibc2.31"}
VERSION=${VERSION:-21}
FLAVOR=${FLAVOR:-"server-release-gcc12-glibc2.36"}
CWD=$(pwd)
PRGNAM=$(basename $CWD)

View file

@ -4,7 +4,7 @@
CWD=$(pwd)
PRGNAM=$(basename $CWD)
VERSION=${VERSION:-4.1.32}
VERSION=${VERSION:-4.1.34}
ARCH=${ARCH:-$(uname -m)}
BUILD=1
@ -27,7 +27,9 @@ mkdir -p $PKG
# mise en place
cd $TMP
mkdir -p $REPOSITORY
[ ! -e $REPOSITORY/$PRGNAM-$VERSION.tar.bz2 ] && wget -c -O $REPOSITORY/$PRGNAM-$VERSION.tar.bz2 http://www.rpl2.net/download/rpl-${VERSION}.tar.bz2
[ ! -e $REPOSITORY/$PRGNAM-$VERSION.tar.bz2 ] && wget -c -O $REPOSITORY/$PRGNAM-$VERSION.tar.bz2 http://www.rpl2.fr/download/rpl-${VERSION}.tar.bz2
[ ! -e $REPOSITORY/reference_rpl_french.ps.bz2 ] && wget -c -O $REPOSITORY/reference_rpl_french.ps.bz2 http://www.rpl2.fr/download/reference_rpl_french.ps.bz2
cd $TMP/
tar xvf $REPOSITORY/$PRGNAM-$VERSION.tar.bz2
@ -56,8 +58,6 @@ make install DESTDIR=$PKG
mkdir -p $PKG$PREFIX/doc/$PRGNAM
cp -R AUTHORS COPYING ChangeLog HEADER INSTALL LIMITATIONS Licence_CeCILL_V2-en.txt Licence_CeCILL_V2-fr.txt NEWS README doc/ examples/ $PKG$PREFIX/doc/$PRGNAM
[ ! -e $REPOSITORY/reference_rpl_french.ps.bz2 ] && wget -c -O $REPOSITORY/reference_rpl_french.ps.bz2 http://www.rpl2.net/download/reference_rpl_french.ps.bz2
bzcat $REPOSITORY/reference_rpl_french.ps.bz2 > $PKG$PREFIX/doc/$PRGNAM/reference_rpl_french.ps
# correction
@ -85,7 +85,8 @@ $PRGNAM: An functional Turing-equivalent language
$PRGNAM: A compiled language
$PRGNAM: A type-inference language
$PRGNAM: An extensible language
$PRGNAM: https://github.com/${GITHUB_REPO}
$PRGNAM:
$PRGNAM: http://www.rpl2.fr
EOF
# empaquetage

View file

@ -21,13 +21,13 @@ DOCS="ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO"
rm -rf $PKG $TMP/$PRGNAM
mkdir -p $PKG
cd $TMP
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
cd $REPOSITORY
git pull --all
VERSION="git_r$( cd $REPOSITORY && git rev-list --count HEAD )"
cd $TMP
cp -R $REPOSITORY $PRGNAM
cd $PRGNAM

View file

@ -37,7 +37,8 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# installation
python3 ./setup.py install --root=$PKG
python3 -m build --wheel
python3 -m installer --destdir $PKG --prefix /usr dist/*.whl
mkdir -p $PKG$PREFIX/doc/$PRGNAM
cp CHANGELOG LICENSE ./*.md $PKG$PREFIX/doc/$PRGNAM/