-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improvement][aur] generating the optimized makepkg.conf at ~/.config…
…/bauh/arch and using it as a build parameter
- Loading branch information
Showing
5 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import os | ||
|
||
from bauh.api.constants import CACHE_PATH | ||
from bauh.api.constants import CACHE_PATH, HOME_PATH | ||
|
||
ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) | ||
BUILD_DIR = '/tmp/bauh/aur' | ||
ARCH_CACHE_PATH = CACHE_PATH + '/arch' | ||
CATEGORIES_CACHE_DIR = ARCH_CACHE_PATH + '/categories' | ||
CATEGORIES_FILE_PATH = CATEGORIES_CACHE_DIR + '/aur.txt' | ||
URL_CATEGORIES_FILE = 'https://raw.githubusercontent.com/vinifmor/bauh-files/master/aur/categories.txt' | ||
CONFIG_DIR = '{}/.config/bauh/arch'.format(HOME_PATH) | ||
CUSTOM_MAKEPKG_PATH = '{}/makepkg.conf'.format(CONFIG_DIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters