diff options
author | morganamilo <morganamilo@gmail.com> | 2019-01-30 19:07:20 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-01-31 01:02:37 +0100 |
commit | 75aae126c423dcc9b215aef57daff9e7bd8f5f6b (patch) | |
tree | 090e8f87eadd5eacfb3c19b5b1696ad02383b1a7 /scripts/libmakepkg/util/pkgbuild.sh.in | |
parent | 6cf0548128d6d1a839ba93997b017661520395be (diff) | |
download | pacman-75aae126c423dcc9b215aef57daff9e7bd8f5f6b.tar.gz pacman-75aae126c423dcc9b215aef57daff9e7bd8f5f6b.tar.xz |
libmakepkg: centralise random arrays of pkgbuild variables
Refactor many of the different arrays of pkgbuild variables
into scripts/libmakepkg/util/schema.sh.in.
Signed-off-by: morganamilo <morganamilo@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/util/pkgbuild.sh.in')
-rw-r--r-- | scripts/libmakepkg/util/pkgbuild.sh.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/libmakepkg/util/pkgbuild.sh.in b/scripts/libmakepkg/util/pkgbuild.sh.in index b29229a3..0dc239d1 100644 --- a/scripts/libmakepkg/util/pkgbuild.sh.in +++ b/scripts/libmakepkg/util/pkgbuild.sh.in @@ -21,6 +21,8 @@ [[ -n "$LIBMAKEPKG_UTIL_PKGBUILD_SH" ]] && return LIBMAKEPKG_UTIL_PKGBUILD_SH=1 +source "$LIBRARY/util/schema.sh" + have_function() { declare -f "$1" >/dev/null |