aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authormar77i <mysatyre@gmail.com>2015-06-25 10:50:30 +0200
committermar77i <mysatyre@gmail.com>2015-06-25 10:50:30 +0200
commitc5b97b9a4779d9307ebf9a21ded89fce9be19444 (patch)
tree26455af54e31ca0ae90d11db7ac33117782fedaf /PKGBUILD
parent0df21d831f3d16cf15fcb07b55c962e88fc85143 (diff)
downloadAUR-c5b97b9a4779d9307ebf9a21ded89fce9be19444.tar.gz
AUR-c5b97b9a4779d9307ebf9a21ded89fce9be19444.tar.zst
AUR-c5b97b9a4779d9307ebf9a21ded89fce9be19444.zip
add config.h if present in source array
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 92713c4..e1995a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,6 +41,9 @@ prepare() {
41 sed '/@tic/d' -i Makefile 41 sed '/@tic/d' -i Makefile
42 for file in "${source[@]}"; do 42 for file in "${source[@]}"; do
43 if [[ "$file" != *.diff ]]; then 43 if [[ "$file" != *.diff ]]; then
44 # add config.h if present in source array
45 # Note: this supersedes the above sed to config.def.h
46 [[ "$file" == "config.h" ]] && cp "$SRCDEST/$file" .
44 continue 47 continue
45 fi 48 fi
46 # add all patches present in source array 49 # add all patches present in source array