From 6fae4bfe621fd97fc103dac7ee9cdc98bb0c481a Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 15 Jun 2016 11:26:52 +0300 Subject: [PATCH] add conf/makepkg.conf --- conf/makepkg.conf | 8 ++++++++ install | 1 + 2 files changed, 9 insertions(+) create mode 100644 conf/makepkg.conf diff --git a/conf/makepkg.conf b/conf/makepkg.conf new file mode 100644 index 00000000..8be64992 --- /dev/null +++ b/conf/makepkg.conf @@ -0,0 +1,8 @@ +# Use as many jobs as there are CPU cores +MAKEFLAGS="-j$(nproc)" + +# Use /var/tmp/makepkg.$(whoami) as builddir to avoid tmpfs filling +BUILDDIR="/var/tmp/makepkg.$(whoami)" + +# Create uncompressed packages, bigger packages, but slower build/install +PKGEXT='.pkg.tar' diff --git a/install b/install index 984b6d9b..e26b5f4d 100755 --- a/install +++ b/install @@ -10,6 +10,7 @@ cat rc/zshrc > ~/.zshrc cat rc/profile > ~/.profile cat conf/gitconfig > ~/.gitconfig cat rc/vimrc > ~/.vimrc +cat conf/makepkg.conf > ~/.makepkg.conf if [ ! -f ~/.oidentd.conf ]; then cat conf/oidentd.conf > ~/.oidentd.conf fi