[*] add back commit's hash to VERSION

This commit is contained in:
Gwenhael Le Moine 2023-03-22 16:56:02 +01:00
parent 8795b7c8cd
commit de1dc7fbde
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
128 changed files with 132 additions and 132 deletions

View file

@ -27,7 +27,7 @@ rm -fr $PKG
( cd $REPOSITORY; git pull ) ( cd $REPOSITORY; git pull )
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
mkdir -p $PKG/lib/firmware/ mkdir -p $PKG/lib/firmware/
cp -R $REPOSITORY/brcm/ $PKG/lib/firmware/ cp -R $REPOSITORY/brcm/ $PKG/lib/firmware/

View file

@ -36,7 +36,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
case $VERSION in case $VERSION in
trunk) trunk)
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
;; ;;
latest) latest)
VERSION=$(git describe --tags --abbrev=0) VERSION=$(git describe --tags --abbrev=0)

View file

@ -28,7 +28,7 @@ rm -fr $PKG
( cd $REPOSITORY; git pull ) ( cd $REPOSITORY; git pull )
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/bin
cp $REPOSITORY/simpleimage/platform-scripts/* $PKG/usr/bin/ cp $REPOSITORY/simpleimage/platform-scripts/* $PKG/usr/bin/

View file

@ -28,7 +28,7 @@ rm -fr $PKG
( cd $REPOSITORY; git pull ) ( cd $REPOSITORY; git pull )
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
mkdir -p $PKG/lib/firmware mkdir -p $PKG/lib/firmware

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout -f $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout -f $VERSION
cargo build --release cargo build --release

View file

@ -29,7 +29,7 @@ cd $REPOSITORY
git pull --all git pull --all
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
mkdir -p $PKG$PREFIX/bin mkdir -p $PKG$PREFIX/bin
cp $REPOSITORY/checkssl $PKG$PREFIX/bin/ cp $REPOSITORY/checkssl $PKG$PREFIX/bin/

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
make make

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -28,7 +28,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
python setup.py install --root $PKG python setup.py install --root $PKG

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
make all extra make all extra

View file

@ -34,7 +34,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
cmake \ cmake \

View file

@ -29,7 +29,7 @@ cd $REPOSITORY
git pull --all git pull --all
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
mkdir -p $PKG$PREFIX/bin mkdir -p $PKG$PREFIX/bin
cp $REPOSITORY/getssl $PKG$PREFIX/bin/ cp $REPOSITORY/getssl $PKG$PREFIX/bin/

View file

@ -34,7 +34,7 @@ cd "$TMP/$PRGNAM/" || exit
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) [ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "$VERSION" == "" ] && VERSION=trunk [ "$VERSION" == "" ] && VERSION=trunk
if [ "$VERSION" == "trunk" ]; then if [ "$VERSION" == "trunk" ]; then
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
else else
git checkout "$VERSION" git checkout "$VERSION"
fi fi

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -34,7 +34,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -32,7 +32,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
make make
make install PREFIX=$PKG$PREFIX make install PREFIX=$PKG$PREFIX

View file

@ -32,7 +32,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
make install DESTDIR=$PKG prefix=$PREFIX mandir=$PREFIX/man make install DESTDIR=$PKG prefix=$PREFIX mandir=$PREFIX/man

View file

@ -32,7 +32,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
make make

View file

@ -51,7 +51,7 @@ find . \
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cmake . \ cmake . \
-DUSE_DOXYGEN=ON \ -DUSE_DOXYGEN=ON \

View file

@ -31,7 +31,7 @@ git pull --all
cp -R $REPOSITORY $TMP/$PRGNAM cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
VERSION="$(git rev-list --count HEAD)" VERSION="$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
# installation # installation
python3 ./setup.py install --root=$PKG python3 ./setup.py install --root=$PKG

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
cmake \ cmake \

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -69,7 +69,7 @@ cp -R $REPOSITORY $PRGNAM
cd $PRGNAM cd $PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -36,7 +36,7 @@ git checkout zig-0.10
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) [ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "$VERSION" == "" ] && VERSION=trunk [ "$VERSION" == "" ] && VERSION=trunk
[ "$VERSION" == "trunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout "$VERSION" [ "$VERSION" == "trunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
#zig build -Drelease-safe --prefix "$PKG$PREFIX" install #zig build -Drelease-safe --prefix "$PKG$PREFIX" install
make make

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
cmake -DNVIDIA_SUPPORT=ON \ cmake -DNVIDIA_SUPPORT=ON \

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -31,7 +31,7 @@ git pull --all
cp -R $REPOSITORY $TMP/$PRGNAM cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
VERSION="$(git rev-list --count HEAD)" VERSION="$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
# installation # installation
python3 ./setup.py install --root=$PKG python3 ./setup.py install --root=$PKG

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release --features no-self-update cargo build --release --features no-self-update

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -32,7 +32,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
autoconf autoconf
aclocal --force aclocal --force

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -29,7 +29,7 @@ git pull --all
cp -R $REPOSITORY $TMP/$PRGNAM cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
VERSION="$(git rev-list --count HEAD)" VERSION="$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
# installation # installation
./tools/local_install.sh $PKG$PREFIX/bin ./tools/local_install.sh $PKG$PREFIX/bin

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
git submodule update --init --recursive git submodule update --init --recursive
TERM=xterm \ TERM=xterm \

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# compilation # compilation
shards build --verbose --release shards build --verbose --release

View file

@ -36,7 +36,7 @@ cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# compilation # compilation
make -j3 PREFIX=$PREFIX make -j3 PREFIX=$PREFIX

View file

@ -31,7 +31,7 @@ cd "$TMP/$PRGNAM/" || exit
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) [ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "$VERSION" == "" ] && VERSION=trunk [ "$VERSION" == "" ] && VERSION=trunk
if [ "$VERSION" == "trunk" ]; then if [ "$VERSION" == "trunk" ]; then
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
else else
git checkout "$VERSION" git checkout "$VERSION"
fi fi
@ -66,7 +66,7 @@ cd $TMP/$SHARDS_PRGNAM/
[ "$SHARDS_VERSION" == "latest" ] && SHARDS_VERSION=$(git describe --tags --abbrev=0) [ "$SHARDS_VERSION" == "latest" ] && SHARDS_VERSION=$(git describe --tags --abbrev=0)
[ "$SHARDS_VERSION" == "" ] && SHARDS_VERSION=trunk [ "$SHARDS_VERSION" == "" ] && SHARDS_VERSION=trunk
if [ "$SHARDS_VERSION" == "trunk" ]; then if [ "$SHARDS_VERSION" == "trunk" ]; then
SHARDS_VERSION="git_$(git rev-list --count HEAD)" SHARDS_VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
else else
git checkout "$SHARDS_VERSION" git checkout "$SHARDS_VERSION"
fi fi

View file

@ -32,7 +32,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
make make
make install PREFIX=$PKG$PREFIX LIBDIR=$PKG$PREFIX/lib$(uname -m | grep -o 64) make install PREFIX=$PKG$PREFIX LIBDIR=$PKG$PREFIX/lib$(uname -m | grep -o 64)

View file

@ -31,7 +31,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
./build.sh update ./build.sh update

View file

@ -32,7 +32,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
./BUILD-FROM-SCRATCH --prefix=${PREFIX} \ ./BUILD-FROM-SCRATCH --prefix=${PREFIX} \

View file

@ -34,7 +34,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM/ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="$(git rev-list --count master)_git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="$(git rev-list --count master)_git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# https://www.hpmuseum.org/forum/thread-17667-post-154012.html#pid154012 # https://www.hpmuseum.org/forum/thread-17667-post-154012.html#pid154012
# elf2rom is only needed to build actual calculator firmware # elf2rom is only needed to build actual calculator firmware

View file

@ -36,7 +36,7 @@ cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk [ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# compilation # compilation
make -j3 make -j3

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -31,7 +31,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
make PREFIX=$PREFIX make PREFIX=$PREFIX
make install PREFIX=$PREFIX DESTDIR=$PKG MANDIR=$PREFIX/man/man1 DOCSDIR=$PREFIX/doc/$PRGNAM/ EXAMPLESDIR=$PREFIX/doc/$PRGNAM/examples/ make install PREFIX=$PREFIX DESTDIR=$PKG MANDIR=$PREFIX/man/man1 DOCSDIR=$PREFIX/doc/$PRGNAM/ EXAMPLESDIR=$PREFIX/doc/$PRGNAM/examples/

View file

@ -36,7 +36,7 @@ cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk [ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# sed -i 's|git@github.com:|https://github.com/|g' $(grep -l git@ .*) # sed -i 's|git@github.com:|https://github.com/|g' $(grep -l git@ .*)

View file

@ -33,7 +33,7 @@ cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# compilation # compilation
make -j3 PREFIX=$PREFIX make -j3 PREFIX=$PREFIX

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
sed -i 's|Errno|File::Error|g' src/scry/text_document.cr sed -i 's|Errno|File::Error|g' src/scry/text_document.cr

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
mkdir build mkdir build

View file

@ -96,7 +96,7 @@ git clean -dfX # https://github.com/commercial-emacs/commercial
rm lisp/loaddefs.el # https://lists.gnu.org/r/emacs-devel/2021-04/msg01430.html rm lisp/loaddefs.el # https://lists.gnu.org/r/emacs-devel/2021-04/msg01430.html
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
#mkdir -p $TMP/$PKGNAM #mkdir -p $TMP/$PKGNAM
cp -R $REPOSITORY $TMP/$PKGNAM cp -R $REPOSITORY $TMP/$PKGNAM

View file

@ -32,7 +32,7 @@ cp -R "$REPOSITORY" "$TMP/"
cd "$TMP/$PRGNAM/" || exit 1 cd "$TMP/$PRGNAM/" || exit 1
case $VERSION in case $VERSION in
trunk) trunk)
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
;; ;;
latest) latest)
VERSION=$(git describe --tags --abbrev=0) VERSION=$(git describe --tags --abbrev=0)

View file

@ -39,7 +39,7 @@ cp -R $REPOSITORY $PRGNAM
cd $PRGNAM cd $PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
phpize phpize

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
cmake \ cmake \

View file

@ -38,7 +38,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
# [ -e CMakeLists.txt ] && cmake \ # [ -e CMakeLists.txt ] && cmake \

View file

@ -36,7 +36,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# installation # installation
python3 ./setup.py install --root=$PKG python3 ./setup.py install --root=$PKG

View file

@ -36,7 +36,7 @@ cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cd src cd src
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED

View file

@ -33,7 +33,7 @@ cd "$TMP/$PRGNAM" || exit
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) [ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "$VERSION" == "" ] && VERSION=trunk [ "$VERSION" == "" ] && VERSION=trunk
if [ "$VERSION" == "trunk" ]; then if [ "$VERSION" == "trunk" ]; then
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
else else
git checkout "$VERSION" git checkout "$VERSION"
fi fi

View file

@ -34,7 +34,7 @@ cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
cmake \ cmake \

View file

@ -40,7 +40,7 @@ cd $PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# configuration # configuration
CFLAGS=$SLCKFLAGS \ CFLAGS=$SLCKFLAGS \

View file

@ -37,7 +37,7 @@ cd $PKG/opt/$PRGNAM
case $VERSION in case $VERSION in
trunk) trunk)
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
;; ;;
latest) latest)
VERSION=$(git describe --tags --abbrev=0) VERSION=$(git describe --tags --abbrev=0)

View file

@ -36,7 +36,7 @@ cd $PKG/$VHOSTROOT/htdocs
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
rm -fr $PKG/$VHOSTROOT/htdocs/.git rm -fr $PKG/$VHOSTROOT/htdocs/.git
mv $PKG/$VHOSTROOT/htdocs/install.php $PKG/$VHOSTROOT/htdocs/install.php.disabled mv $PKG/$VHOSTROOT/htdocs/install.php $PKG/$VHOSTROOT/htdocs/install.php.disabled

View file

@ -34,7 +34,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
meson setup --prefix /usr --mandir /usr/man/ build/ meson setup --prefix /usr --mandir /usr/man/ build/
ninja -C build/ ninja -C build/

View file

@ -34,7 +34,7 @@ cd $TMP/$PRGNAM/
case $VERSION in case $VERSION in
trunk) trunk)
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
;; ;;
latest) latest)
VERSION=$(git describe --tags --abbrev=0) VERSION=$(git describe --tags --abbrev=0)

View file

@ -33,7 +33,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# wget -c https://github.com/Hjdskes/cage/pull/217.patch # wget -c https://github.com/Hjdskes/cage/pull/217.patch
# git am 217.patch # git am 217.patch

View file

@ -79,7 +79,7 @@ cd $TMP/$PRGNAM/
case $VERSION in case $VERSION in
trunk) trunk)
git checkout wlroots-next git checkout wlroots-next
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
;; ;;
latest) latest)
VERSION=$(git describe --tags --abbrev=0) VERSION=$(git describe --tags --abbrev=0)

View file

@ -31,7 +31,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
meson setup \ meson setup \
--prefix /usr \ --prefix /usr \

View file

@ -34,7 +34,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM/ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
meson setup --prefix /usr --mandir /usr/man/ build/ meson setup --prefix /usr --mandir /usr/man/ build/
ninja -C build/ ninja -C build/

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM/ cd $TMP/$PRGNAM/
case $VERSION in case $VERSION in
trunk) trunk)
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
;; ;;
latest) latest)
VERSION=$(git describe --tags --abbrev=0) VERSION=$(git describe --tags --abbrev=0)

View file

@ -34,7 +34,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
meson setup \ meson setup \
--prefix /usr \ --prefix /usr \

View file

@ -32,7 +32,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
make make

View file

@ -34,7 +34,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
meson setup \ meson setup \
--prefix /usr \ --prefix /usr \

View file

@ -34,7 +34,7 @@ cd "$TMP/$PRGNAM/" || exit
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) [ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "$VERSION" == "" ] && VERSION=trunk [ "$VERSION" == "" ] && VERSION=trunk
if [ "$VERSION" == "trunk" ]; then if [ "$VERSION" == "trunk" ]; then
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
else else
git checkout "$VERSION" git checkout "$VERSION"
fi fi

View file

@ -34,7 +34,7 @@ cd $TMP/$PRGNAM/
case $VERSION in case $VERSION in
trunk) trunk)
VERSION="git_$(git rev-list --count HEAD)" VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
;; ;;
latest) latest)
VERSION=$(git describe --tags --abbrev=0) VERSION=$(git describe --tags --abbrev=0)

View file

@ -33,7 +33,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -34,7 +34,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# installation # installation
python3 ./setup.py install --root=$PKG python3 ./setup.py install --root=$PKG

View file

@ -34,7 +34,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
# installation # installation
python3 ./setup.py install --root=$PKG python3 ./setup.py install --root=$PKG

View file

@ -35,7 +35,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
zig build -Dxwayland -Drelease-safe --prefix $PKG$PREFIX install zig build -Dxwayland -Drelease-safe --prefix $PKG$PREFIX install

View file

@ -32,7 +32,7 @@ cp -R $REPOSITORY $TMP/
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
cargo build --release cargo build --release

View file

@ -32,7 +32,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
meson setup --prefix /usr --mandir /usr/man/ build/ meson setup --prefix /usr --mandir /usr/man/ build/
ninja -C build/ ninja -C build/

View file

@ -34,7 +34,7 @@ cd $TMP/$PRGNAM/
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) [ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
[ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "x" ] && VERSION=trunk
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)" || git checkout $VERSION [ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
meson setup --prefix /usr --mandir /usr/man/ build/ meson setup --prefix /usr --mandir /usr/man/ build/
ninja -C build/ ninja -C build/

Some files were not shown because too many files have changed in this diff Show more