diff options
-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 |