diff options
author | Maxime “pep” Buquet | 2019-11-19 00:31:36 +0100 |
---|---|---|
committer | Maxime “pep” Buquet | 2019-11-19 00:36:23 +0100 |
commit | eaacaa3999e3270dc2618e77768a50b826fed714 (patch) | |
tree | 072be41d6347f2de0e2fb35de690844807d04d03 | |
parent | 3a25cea5e7bd04f0571f1019f16498a481960591 (diff) | |
download | aur-eaacaa3999e3270dc2618e77768a50b826fed714.tar.gz |
Move configure block in prepare()
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -60,17 +60,18 @@ prepare() { echo "" >> prosody.cfg.lua.dist cat prosody.cfg.lua.old >> prosody.cfg.lua.dist rm prosody.cfg.lua.old + + ./configure --ostype=linux --prefix=/usr --sysconfdir=/etc/prosody \ + --datadir=/var/lib/prosody --with-lua-include=/usr/include/lua5.2 \ + --cflags="${CFLAGS} -fPIC -Wall -Wextra -D_GNU_SOURCE" \ + --ldflags="${LDFLAGS} -shared" --no-example-certs \ + --runwith=lua5.2 \ + --lua-version=5.2 \ + --idn-library=icu } build() { cd ${pkgname} - ./configure --ostype=linux --prefix=/usr --sysconfdir=/etc/prosody \ - --datadir=/var/lib/prosody --with-lua-include=/usr/include/lua5.2 \ - --cflags="${CFLAGS} -fPIC -Wall -Wextra -D_GNU_SOURCE" \ - --ldflags="${LDFLAGS} -shared" --no-example-certs \ - --runwith=lua5.2 \ - --lua-version=5.2 \ - --idn-library=icu make } |