Allan McRae
366adc3bb0
libmakepkg: fix test style
...
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-05-19 23:43:00 +10:00
Allan McRae
23e3c48526
libmakepkg: move more functions for extracting information from PKGBIULDs
...
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-05-19 23:43:00 +10:00
Allan McRae
15b6cecdd5
libmakepkg: extract more utility functions
...
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-05-19 23:43:00 +10:00
Allan McRae
8ab106eb9b
libmakepkg: extract get_full_version and get_pkg_arch
...
These functions group in with other functions that extract PKGBUILD
information.
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-05-16 14:10:42 +10:00
Allan McRae
d38c098787
libmakepkg: extract in_array
2015-05-16 14:10:42 +10:00
Allan McRae
83b734a103
libmakepkg: move functions for extracting pkgbuild attributes
...
Also rename some functions for clarity:
funcgrep -> grep_function
extract_global_var -> extract_global_variable
extract_function_var -> extract_function_variable
pkgbuild_get_attribute -> get_pkgbuild_attribute
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-05-16 14:10:42 +10:00
Allan McRae
33466000d6
makepkg: split PKGBUILD/makepkg.conf option checking to libmakepkg
...
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-02-01 21:20:08 +10:00
Allan McRae
7885931c96
makepkg: split message functions into libmakepkg
...
This performs all the needed work for libmakepkg to be included in
tarballs, installed into the correct place, and read into makepkg.
Also change the install root for libmakepkg to an architecture independant
location.
Signed-off-by: Allan McRae <allan@archlinux.org>
2015-02-01 21:20:08 +10:00