[aur] config file

This commit is contained in:
Vinícius Moreira
2019-12-18 18:19:00 -03:00
parent 9a852cda3f
commit 496f61a27b
8 changed files with 58 additions and 19 deletions

View File

@@ -1,6 +1,6 @@
import os
from bauh.api.constants import CACHE_PATH, HOME_PATH
from bauh.api.constants import CACHE_PATH, HOME_PATH, CONFIG_PATH
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
BUILD_DIR = '/tmp/bauh/aur'
@@ -11,6 +11,7 @@ URL_CATEGORIES_FILE = 'https://raw.githubusercontent.com/vinifmor/bauh-files/mas
CONFIG_DIR = '{}/.config/bauh/arch'.format(HOME_PATH)
CUSTOM_MAKEPKG_PATH = '{}/makepkg.conf'.format(CONFIG_DIR)
AUR_INDEX_FILE = '{}/aur.txt'.format(BUILD_DIR)
CONFIG_FILE = '{}/arch.yml'.format(CONFIG_PATH)
def should_optimize_compilation() -> bool: