convert all git-pulling scripts to allow building specific tag
This commit is contained in:
parent
3963b6b7ab
commit
7c35b93f3d
84 changed files with 227 additions and 201 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# variables
|
||||
CWD=$(pwd)
|
||||
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -24,7 +24,7 @@ rm -fr $PKG
|
|||
# mise en place
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/winterheart/broadcom-bt-firmware.git $REPOSITORY
|
||||
( cd $REPOSITORY; git pull )
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
mkdir -p $PKG/lib/firmware/
|
||||
cp -R $REPOSITORY/brcm/ $PKG/lib/firmware/
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# variables
|
||||
CWD=$(pwd)
|
||||
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -25,7 +25,7 @@ rm -fr $PKG
|
|||
# mise en place
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/longsleep/build-pine64-image.git $REPOSITORY
|
||||
( cd $REPOSITORY; git pull )
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
mkdir -p $PKG/usr/bin
|
||||
cp $REPOSITORY/simpleimage/platform-scripts/* $PKG/usr/bin/
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# variables
|
||||
CWD=$(pwd)
|
||||
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -25,7 +25,7 @@ rm -fr $PKG
|
|||
# mise en place
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/RPi-Distro/firmware-nonfree.git $REPOSITORY
|
||||
( cd $REPOSITORY; git pull )
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
mkdir -p $PKG/lib/firmware
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/imsnif/bandwhich.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/sharkdp/bat.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-"git"}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -28,11 +28,11 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/Cloudef/bemenu.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
mkdir -p $TMP/
|
||||
cp -a $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
sed -i 's|-O2| -O2 -fPIC|' GNUmakefile
|
||||
make clients x11 wayland curses
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/Canop/broot.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/clementtsang/bottom.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
#VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,7 +26,7 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/srvrco/checkssl.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
mkdir -p $PKG$PREFIX/bin
|
||||
cp $REPOSITORY/checkssl $PKG$PREFIX/bin/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/dandavison/delta.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/sharkdp/diskus.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/wagoodman/dive.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
make
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/bootandy/dust.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
CWD=$(pwd)
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=$(date +%F | tr - .)
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
ARCH=noarch
|
||||
|
@ -22,11 +22,10 @@ mkdir -p $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/espressif/esptool.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
python setup.py install --root $PKG
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/ogham/exa.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/AltraMayor/f3.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
make all extra
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/sharkdp/fd.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
#VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,7 +26,7 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/srvrco/getssl.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
mkdir -p $PKG$PREFIX/bin
|
||||
cp $REPOSITORY/getssl $PKG$PREFIX/bin/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/pemistahl/grex.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/ducaale/ht.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ OUTPUT=/tmp
|
|||
PRGNAM=$(basename $CWD)
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
|
||||
VERSION=$(date +%Y.%m.%d_%H.%M)
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
DOCS="LICENSE README.rst AUTHORS.rst"
|
||||
|
||||
|
@ -31,10 +31,10 @@ GIT_URL="https://github.com/jkbr/httpie.git"
|
|||
[ ! -e $REPOSITORY ] && git clone "$GIT_URL" $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# installation
|
||||
python3 ./setup.py install --root=$PKG
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/sharkdp/hyperfine.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
#VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,10 +26,11 @@ mkdir -p $PKG $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/crystal-community/icr.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
make
|
||||
make install PREFIX=$PKG$PREFIX
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://gitlab.redox-os.org/redox-os/ion/ $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ CWD=$(pwd)
|
|||
|
||||
PRGNAM=$(basename $CWD)
|
||||
BRANCH=${BRANCH:="CURRENT"}
|
||||
VERSION=${VERSION:=${BRANCH}_$(date +%F | tr - .)}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-gwh}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/Peltoche/lsd.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -28,10 +28,9 @@ mkdir -p $PKG
|
|||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/axkibe/lsyncd.git $REPOSITORY
|
||||
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# configuration
|
||||
cmake \
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=motion
|
||||
VERSION=$(date +%F | tr - .)
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-gwh}
|
||||
|
||||
|
@ -63,10 +63,10 @@ rm -rf $PRGNAM
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/Motion-Project/motion $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $PRGNAM
|
||||
cd $PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/nushell/nushell.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/dalance/procs.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/BurntSushi/ripgrep.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/rust-lang/rustup.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release --features no-self-update
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/chmln/sd.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/starship/starship.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
# VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone http://github.com/aspiers/stow.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
autoconf
|
||||
aclocal --force
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/dbrgn/tealdeer.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=noarch
|
||||
BUILD=1
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/Valloric/ycmd.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
git submodule update --init --recursive
|
||||
TERM=xterm \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/cjbassi/ytop.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
#VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -28,10 +28,9 @@ mkdir -p $PKG
|
|||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/crystal-ameba/ameba.git $REPOSITORY
|
||||
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# compilation
|
||||
shards build --verbose --release
|
||||
|
|
|
@ -11,7 +11,7 @@ PKG=$TMP/pkg-$PRGNAM
|
|||
|
||||
REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM
|
||||
|
||||
VERSION=$(date +%Y.%m%d_%H.%M)
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
ARCH='noarch'
|
||||
BUILD=1
|
||||
|
@ -26,14 +26,14 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/postmodern/chruby $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
# nettoyage préalable
|
||||
rm -fr $PKG $TMP/$PRGNAM-$VERSION
|
||||
rm -fr $PKG $TMP/$PRGNAM
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# compilation
|
||||
make -j3 PREFIX=$PREFIX
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
make
|
||||
make install PREFIX=$PKG$PREFIX LIBDIR=$PKG$PREFIX/lib$(uname -m | grep -o 64)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/rbspy/rbspy.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -28,10 +28,9 @@ mkdir -p $PKG
|
|||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/louisrubet/rpn.git $REPOSITORY
|
||||
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
sed -i 's|git@github.com:|https://github.com/|g' $(grep -l git@ .*)
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ PRGNAM=$(basename $CWD)
|
|||
PKG=$TMP/pkg-$PRGNAM
|
||||
|
||||
REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM
|
||||
VERSION=$(date +%Y.%m%d_%H.%M)
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
ARCH='noarch'
|
||||
BUILD=1
|
||||
|
@ -23,14 +23,14 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/postmodern/ruby-install $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
# nettoyage préalable
|
||||
rm -fr $PKG $TMP/$PRGNAM-$VERSION
|
||||
rm -fr $PKG $TMP/$PRGNAM
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# compilation
|
||||
make -j3 PREFIX=$PREFIX
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -28,10 +28,9 @@ mkdir -p $PKG
|
|||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/crystal-lang-tools/scry.git $REPOSITORY
|
||||
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
sed -i 's|Errno|File::Error|g' src/scry/text_document.cr
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -28,10 +28,9 @@ mkdir -p $PKG
|
|||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone --recursive https://github.com/WebAssembly/wabt.git $REPOSITORY
|
||||
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# configuration
|
||||
mkdir build
|
||||
|
|
|
@ -32,6 +32,7 @@ BUILD=${BUILD:-1}
|
|||
TAG=gwh
|
||||
|
||||
BRANCH=${BRANCH:-master}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
REPOSITORY=/home/installs/SlackBuilds/repositories/$PKGNAM
|
||||
|
||||
|
@ -88,12 +89,13 @@ rm -rf $PKGNAM
|
|||
git pull
|
||||
[ -e Makefile ] && make distclean
|
||||
)
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)"
|
||||
|
||||
mkdir -p $TMP/$PKGNAM
|
||||
SRCDIR=$REPOSITORY
|
||||
|
||||
cd $PKGNAM || exit 1
|
||||
[ "x$VERSION" == "xtrunk" ] || git checkout $VERSION
|
||||
|
||||
# tar xvf $CWD/$PKGNAM-$TARBALLVER.tar.xz || exit 1
|
||||
# cd $PKGNAM-$SRCDIRVER || exit 1
|
||||
|
|
|
@ -9,7 +9,7 @@ CWD=$(pwd)
|
|||
PRGNAM=$(basename $CWD)
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
|
||||
VERSION=$(date +%Y.%m.%d_%H.%M)
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
EXT=tar.gz
|
||||
|
||||
|
@ -33,10 +33,10 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/krakjoe/apcu.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $PRGNAM
|
||||
cd $PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# configuration
|
||||
phpize
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -28,10 +28,9 @@ mkdir -p $PKG
|
|||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/fmtlib/fmt.git $REPOSITORY
|
||||
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# configuration
|
||||
cmake \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -29,11 +29,13 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/raysan5/raylib.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
cd $TMP/$PRGNAM/src
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cd src
|
||||
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED
|
||||
make install DESTDIR=$PKG RAYLIB_LIBTYPE=SHARED RAYLIB_INSTALL_PATH=$PKG$PREFIX/lib$(uname -m | grep -o 64)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -28,11 +28,11 @@ mkdir -p $PKG
|
|||
cd $TMP
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/gabime/spdlog.git $REPOSITORY
|
||||
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# configuration
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
||||
|
|
|
@ -5,7 +5,7 @@ CWD=$(pwd)
|
|||
# default settings
|
||||
PRGNAM=$(basename $CWD)
|
||||
ARCH=$(uname -m)
|
||||
VERSION=${VERSION:-$(date +%Y.%m.%d_%H.%M)}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
TAG=gwh
|
||||
TMP=/tmp/$TAG
|
||||
|
@ -33,12 +34,12 @@ cd $TMP
|
|||
( cd $REPOSITORIES/$PRGNAM;
|
||||
git pull
|
||||
)
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM
|
||||
|
||||
cd $PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# configuration
|
||||
CFLAGS=$SLCKFLAGS \
|
||||
CPPFLAGS=$SLCKFLAGS \
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# variables
|
||||
RUNNING_USER=${RUNNING_USER:-gwh}
|
||||
RUNNING_GROUP=${RUNNING_GROUP:-users}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,7 +28,6 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/janeczku/calibre-web.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
mkdir -p $PKG/opt
|
||||
cp -r $REPOSITORY $PKG/opt/
|
||||
|
@ -39,6 +39,8 @@ cp -r $CWD/rc $PKG/etc/rc.d/rc.$PRGNAM
|
|||
sed -i "s|RUNNING_USER|$RUNNING_USER|" $PKG/etc/rc.d/rc.$PRGNAM
|
||||
|
||||
cd $PKG/opt/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# change default password
|
||||
NEW_DEFAULT_PASSWORD=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;)
|
||||
sed -i "s|admin123|$NEW_DEFAULT_PASSWORD|g" cps/*
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH="noarch" # hardcode ARCH
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-gwh}
|
||||
|
@ -28,13 +29,14 @@ REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM
|
|||
( cd $REPOSITORY
|
||||
git pull )
|
||||
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $PKG/$VHOSTROOT/htdocs
|
||||
cd $PKG/$VHOSTROOT/htdocs
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
rm -fr $PKG/$VHOSTROOT/htdocs/.git
|
||||
mv $PKG/$VHOSTROOT/htdocs/install.php $PKG/$VHOSTROOT/htdocs/install.php.disabled
|
||||
|
||||
cd $PKG/$VHOSTROOT/htdocs
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 -o -perm 755 \) \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/nyyManni/dmenu-wayland $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup \
|
||||
--prefix /usr \
|
||||
--mandir /usr/man/ \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,12 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/djpohly/dwl.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# configuration
|
||||
[ -e $CWD/config.h ] && cat $CWD/config.h > config.h
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://codeberg.org/dnkl/foot.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup \
|
||||
--prefix /usr \
|
||||
--mandir /usr/man/ \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/emersion/kanshi $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup \
|
||||
--prefix /usr \
|
||||
--mandir /usr/man/ \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/emersion/mako $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup \
|
||||
--prefix /usr \
|
||||
--mandir /usr/man/ \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://git.sr.ht/~kennylevinsen/seatd $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup --prefix /usr --mandir /usr/man/ build/
|
||||
ninja -C build/
|
||||
cd build/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/swaywm/sway $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup \
|
||||
--prefix /usr \
|
||||
--mandir /usr/man/ \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/swaywm/swaybg $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup --prefix /usr --mandir /usr/man/ build/
|
||||
ninja -C build/
|
||||
cd build/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/swaywm/swayidle $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup --prefix /usr --mandir /usr/man/ build/
|
||||
ninja -C build/
|
||||
cd build/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/swaywm/swaylock $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup --prefix /usr --mandir /usr/man/ build/
|
||||
ninja -C build/
|
||||
cd build/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,12 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/Alexays/Waybar $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup \
|
||||
--prefix /usr \
|
||||
--mandir /usr/man/ \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=master_$(date +"%Y.%m.%d_%H.%M")
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=1
|
||||
|
||||
TAG=gwh
|
||||
|
@ -26,11 +26,13 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://git.sr.ht/~kennylevinsen/wlsunset $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
meson setup --prefix /usr --mandir /usr/man/ build/
|
||||
ninja -C build/
|
||||
cd build/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/jwilm/alacritty.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
set -x
|
||||
|
||||
PRGNAM=$(basename $(pwd))
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
BUILD=1
|
||||
|
||||
|
@ -27,12 +28,13 @@ rm -fr $PRGNAM $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/sagb/alttab.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
|
||||
# Preparation
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
|
|
@ -5,7 +5,7 @@ CWD=$(pwd)
|
|||
|
||||
PRGNAM=$(basename $(pwd))
|
||||
BRANCH=
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -19,11 +19,8 @@ REPOSITORIES=/home/installs/SlackBuilds/repositories
|
|||
PREFIX=/usr
|
||||
|
||||
[ ! -e $REPOSITORIES/$PRGNAM ] && git clone https://github.com/Hummer12007/brightnessctl.git $REPOSITORIES/$PRGNAM
|
||||
( cd $REPOSITORIES/$PRGNAM
|
||||
git pull
|
||||
)
|
||||
|
||||
VERSION="git_$( cd $REPOSITORIES/$PRGNAM && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
cd $REPOSITORIES/$PRGNAM
|
||||
git pull --all
|
||||
|
||||
# nettoyage préalable
|
||||
rm -fr $PKG $TMP/$PRGNAM
|
||||
|
@ -35,6 +32,7 @@ cd $TMP
|
|||
cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM
|
||||
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# compilation
|
||||
make -j3 PREFIX=$PREFIX
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/greshake/i3status-rust.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/weclaw1/image-roll.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -7,11 +7,13 @@ CWD=$(pwd)
|
|||
OUTPUT=/tmp
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
ARCH=$(uname -m)
|
||||
BUILD=1
|
||||
|
||||
PKG=$TMP/pkg-$PRGNAM
|
||||
|
||||
PREFIX=/usr
|
||||
|
||||
REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM
|
||||
|
@ -25,10 +27,10 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/kovidgoyal/kitty.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM/
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# installation
|
||||
mkdir -p $PKG/
|
||||
|
|
|
@ -11,6 +11,7 @@ PKG=$TMP/pkg-$PRGNAM
|
|||
|
||||
ARCH=$(uname -m)
|
||||
BUILD=1
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM
|
||||
|
||||
|
@ -23,10 +24,10 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/leozide/leocad.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM/
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
qmake-qt5 DISABLE_UPDATE_CHECK=1 DOCS_DIR=/usr/doc/$PRGNAM MAN_DIR=/usr/man/man1 leocad.pro
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
STABLE=${STABLE:-"NO"}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
ARCH=${ARCH:-$(uname -m)}
|
||||
BUILD=1
|
||||
|
||||
|
@ -27,22 +26,17 @@ mkdir -p $PKG
|
|||
|
||||
# mise en place
|
||||
cd $TMP
|
||||
if [ "x$STABLE" == "xYES" ]; then
|
||||
wget -c https://download.owncloud.com/desktop/stable/$PRGNAM-$VERSION.tar.xz -O $CWD/$PRGNAM-$VERSION.tar.xz
|
||||
tar xf $CWD/$PRGNAM-$VERSION.tar.xz
|
||||
else
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/nextcloud/desktop.git $REPOSITORY
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/nextcloud/desktop.git $REPOSITORY
|
||||
|
||||
( cd $REPOSITORY
|
||||
git pull
|
||||
git submodule update --init --recursive )
|
||||
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
fi
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
git submodule update --init --recursive
|
||||
|
||||
# configuration
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=$PREFIX \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,12 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/polybar/polybar.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ PKG=$TMP/pkg-$PRGNAM
|
|||
|
||||
ARCH=$(uname -m)
|
||||
BUILD=1
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM
|
||||
|
||||
|
@ -23,10 +24,10 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/marazmista/radeon-profile.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM/$PRGNAM/
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
qmake-qt5 DISABLE_UPDATE_CHECK=1 DOCS_DIR=/usr/doc/$PRGNAM MAN_DIR=/usr/man/man1
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,10 +27,10 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/htrefil/rkvm.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
VERSION=${VERSION:-$(date +"%Y.%m.%d_%H.%M")}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
TAG=gwh
|
||||
|
@ -27,11 +27,12 @@ cd $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/wez/wezterm.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
cargo build --release
|
||||
|
||||
mkdir -p $PKG$PREFIX/bin
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
set -x
|
||||
|
||||
PRGNAM=x48
|
||||
VERSION=${VERSION:-0.6.4}
|
||||
|
||||
BUILD=1
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
ARCH=$(uname -m)
|
||||
LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)")
|
||||
|
@ -28,12 +28,14 @@ rm -fr $PRGNAM $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/gwenhael-le-moine/x48.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
|
||||
# Preparation
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
|
|
@ -4,7 +4,7 @@ set -x
|
|||
CWD=$(pwd)
|
||||
|
||||
PRGNAM=$(basename $CWD)
|
||||
VERSION=${VERSION:-$(date +%F | tr - .)}
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
BUILD=1
|
||||
|
||||
|
@ -29,11 +29,12 @@ rm -fr $TMP/$PRGNAM $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/gwenhael-le-moine/x49gp.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
# Preparation
|
||||
cd $TMP/$PRGNAM
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
|
|
@ -6,6 +6,7 @@ CWD=$(pwd)
|
|||
PRGNAM=$(basename $CWD)
|
||||
|
||||
BUILD=1
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
ARCH=$(uname -m)
|
||||
LIBSUFFIX=$(echo $ARCH | grep -o "\(64\)")
|
||||
|
@ -27,11 +28,13 @@ mkdir -p $TMP
|
|||
[ ! -e $REPOSITORY ] && git clone "http://repo.or.cz/r/cboard.git" $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
# Preparation
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM-$VERSION
|
||||
cd $TMP/$PRGNAM-$VERSION
|
||||
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
|
|
|
@ -11,6 +11,7 @@ PKG=$TMP/pkg-$PRGNAM
|
|||
|
||||
ARCH=$(uname -m)
|
||||
BUILD=1
|
||||
VERSION=${VERSION:-"trunk"}
|
||||
|
||||
REPOSITORY=/home/installs/SlackBuilds/repositories/$PRGNAM
|
||||
|
||||
|
@ -23,10 +24,10 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/frostworx/steamtinkerlaunch.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
VERSION="git_$( cd $REPOSITORY && git log -1 --format=%h_%ad --date=format:%Y.%m.%d )"
|
||||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM/
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION
|
||||
|
||||
make PREFIX="$PKG/usr" install
|
||||
|
||||
|
|
Loading…
Reference in a new issue