rebuild: use .pkg.tar instead of .pkg.tar.xz to save time

master
an 2019-05-05 22:33:09 -04:00
parent 0e55914fbb
commit 08ce71bacc
3 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
CFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fno-plt" CFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fno-plt"
CXXFLAGS="${CFLAGS}" CXXFLAGS="${CFLAGS}"
MAKEFLAGS="-j12" MAKEFLAGS="-j12"
PKGEXT='.pkg.tar'

View File

@ -137,7 +137,7 @@ build_package() {
if [[ $install_as ]] if [[ $install_as ]]
then then
pkgver=$(pkg_ver) pkgver=$(pkg_ver)
sudo pacman --noconfirm --needed -U $install_as-$pkgver*.pkg.tar.xz sudo pacman --noconfirm --needed -U $install_as-$pkgver*.pkg.tar
fi fi
} }
main() { main() {

2
zshrc
View File

@ -13,4 +13,4 @@ zstyle :compinstall filename '/home/marrub/.zshrc'
autoload -Uz compinit autoload -Uz compinit
compinit compinit
alias rebuild=$HOME/bin/_scripts/rebuild.sh alias rebuild=$HOME/src/scripts/rebuild.sh