Moved packages to separate packages.txt

This commit is contained in:
Gator96100 2020-09-14 18:00:43 +02:00
parent aaa828d38b
commit ba6eb8ce66
2 changed files with 33 additions and 19 deletions

View file

@ -1,31 +1,18 @@
check_install () {
echo "Installing: $1"
pacman -Q $1 > /dev/null
if [ $? == 1 ]; then
pacman --noconfirm --overwrite='*' -S $1
fi
}
clean_64 () {
rm -rf /mingw64/share/qt5/examples
pacman --noconfirm --overwrite='*' -Scc
}
setup_proxspace ()
{
if [ "$MSYSTEM" == "MINGW64" ]; then
check_install mingw-w64-x86_64-gcc
check_install mingw-w64-x86_64-readline
check_install mingw-w64-x86_64-libsndfile
check_install mingw-w64-x86_64-cmake
check_install mingw-w64-x86_64-lua
check_install mingw-w64-x86_64-bzip2
check_install mingw-w64-x86_64-python
check_install mingw-w64-x86_64-jansson
check_install git
check_install make
check_install pkg-config
check_install mingw-w64-x86_64-qt5
clean_64
for pkg in $(grep "^[^#;]" /ps/packages.txt); do
check_install $pkg
done
echo $(date '+%Y-%m-%d %H:%M:%S') > /ps/installed64.txt
fi
}

27
msys2/ps/packages.txt Normal file
View file

@ -0,0 +1,27 @@
##############################
# General #
##############################
git
make
pkg-config
cmake
##############################
# Proxmark3 #
##############################
mingw-w64-x86_64-gcc
mingw-w64-x86_64-readline
mingw-w64-x86_64-libsndfile
mingw-w64-x86_64-lua
mingw-w64-x86_64-bzip2
mingw-w64-x86_64-python
mingw-w64-x86_64-jansson
mingw-w64-x86_64-qt5
##############################
# ChameleonMini #
##############################
#mingw-w64-x86_64-dfu-programmer
#mingw-w64-x86_64-avrdude
#mingw-w64-x86_64-avr-binutils
#mingw-w64-x86_64-avr-gcc
#mingw-w64-x86_64-avr-gdb
#mingw-w64-x86_64-avr-libc