diff options
author | Goran Nushkov | 2019-04-06 02:18:20 +0200 |
---|---|---|
committer | Goran Nushkov | 2019-04-06 02:18:20 +0200 |
commit | a7f14518974babc6896b23a56d8d67beed8c0865 (patch) | |
tree | ec343c127fa32db3cbeadd8acc475c66f35b5923 | |
parent | de42428d92f09e46f03ca5fbf6acdb0026e5395c (diff) | |
download | aur-a7f14518974babc6896b23a56d8d67beed8c0865.tar.gz |
Fixed openresty location
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 3 deletions
@@ -7,11 +7,10 @@ pkgbase = kong-community-edition arch = any license = Apache depends = libyaml - depends = luajit + depends = openresty depends = openssl depends = pcre depends = zlib - depends = openresty depends = rsync options = !strip options = !emptydirs @@ -8,7 +8,7 @@ arch=('any') url="https://getkong.org" license=('Apache') groups=('') -depends=('libyaml' 'luajit' 'openssl' 'pcre' 'zlib' 'openresty' 'rsync') +depends=('libyaml' 'openresty' 'openssl' 'pcre' 'zlib' 'rsync') options=('!strip' '!emptydirs') install=${pkgname}.install source=("https://bintray.com/kong/kong-community-edition-deb/download_file?file_path=dists/kong-community-edition-1.1.0.stretch.all.deb") @@ -30,6 +30,13 @@ package(){ # Fix openresty location cd usr/local/bin/ sed -i "s:usr/local:opt:" kong + sed -i "s:usr/local:opt:" json2lua + sed -i "s:usr/local:opt:" lapis + sed -i "s:usr/local:opt:" lua2json + sed -i "s:usr/local:opt:" luarocks + sed -i "s:usr/local:opt:" luarocks-5.1 + sed -i "s:usr/local:opt:" luarocks-admin + sed -i "s:usr/local:opt:" luarocks-admin-5.1 cd "${pkgdir}" mkdir usr/bin 2> /dev/null; mv usr/local/bin/* usr/bin; rm -rf usr/local/bin |