From 08ce71bacc6a5c7715f511c701b7b1604df42351 Mon Sep 17 00:00:00 2001 From: Marrub Date: Sun, 5 May 2019 22:33:09 -0400 Subject: [PATCH] rebuild: use .pkg.tar instead of .pkg.tar.xz to save time --- makepkg.conf | 1 + rebuild.sh | 2 +- zshrc | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/makepkg.conf b/makepkg.conf index 78d95f5..f2862ef 100644 --- a/makepkg.conf +++ b/makepkg.conf @@ -1,3 +1,4 @@ CFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fno-plt" CXXFLAGS="${CFLAGS}" MAKEFLAGS="-j12" +PKGEXT='.pkg.tar' diff --git a/rebuild.sh b/rebuild.sh index 353cb36..0c5fe57 100755 --- a/rebuild.sh +++ b/rebuild.sh @@ -137,7 +137,7 @@ build_package() { if [[ $install_as ]] then 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 } main() { diff --git a/zshrc b/zshrc index f9bdad2..6fba786 100644 --- a/zshrc +++ b/zshrc @@ -13,4 +13,4 @@ zstyle :compinstall filename '/home/marrub/.zshrc' autoload -Uz compinit compinit -alias rebuild=$HOME/bin/_scripts/rebuild.sh +alias rebuild=$HOME/src/scripts/rebuild.sh