diff options
author | Daichi Shinozaki | 2016-02-02 11:22:21 +0000 |
---|---|---|
committer | Daichi Shinozaki | 2016-02-02 11:22:21 +0000 |
commit | 5b12be10a4130c7e516af5cc8b3d9f56272af4c4 (patch) | |
tree | 4f6a8bb74eb31aef19f7e90cd12ea49b63c9e83a | |
parent | c258e10df3662dfe95ca3ed3eae22553b2babfdf (diff) | |
download | aur-5b12be10a4130c7e516af5cc8b3d9f56272af4c4.tar.gz |
Added a openresty.install
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | openresty.install | 10 |
3 files changed, 20 insertions, 6 deletions
@@ -1,10 +1,11 @@ # Generated by mksrcinfo v8 -# Fri Jan 29 14:31:52 UTC 2016 +# Tue Feb 2 11:21:56 UTC 2016 pkgbase = openresty pkgdesc = A Fast and Scalable Web Platform by Extending NGINX with Lua pkgver = 1.9.7.3 - pkgrel = 2 + pkgrel = 3 url = http://openresty.org/ + install = openresty.install arch = i686 arch = x86_64 license = BSD @@ -25,9 +26,11 @@ pkgbase = openresty source = http://openresty.org/download/openresty-1.9.7.3.tar.gz source = service source = openresty.logrotate + source = openresty.install sha256sums = 3e4422576d11773a03264021ff7985cd2eeac3382b511ae3052e835210a9a69a sha256sums = ec55ac7da98f5f5ec54d096c5f79b656edec0ebca835b6b9f1d20fb7be7119c5 sha256sums = 613b0ed3fe4b5ee505ddb5122ee41604f464a5049be81c97601ee93970763a23 + sha256sums = f071e0fd8d0d588f03fcc7db6f3cb3f7ea1b870d3416a0bde142d9aeb839d0f6 pkgname = openresty @@ -6,22 +6,23 @@ _cfgdir=/opt/openresty/nginx/conf _tmpdir=/var/lib/openresty pkgname=openresty pkgver=1.9.7.3 -pkgrel=2 +pkgrel=3 pkgdesc="A Fast and Scalable Web Platform by Extending NGINX with Lua" arch=('i686' 'x86_64') url="http://openresty.org/" license=('BSD') depends=('perl>=5.6.1' 'readline' 'pcre' 'openssl') -install= +install=$pkgname.install source=(http://openresty.org/download/$pkgname-$pkgver.tar.gz service - openresty.logrotate + $pkgname.logrotate + $pkgname.install ) noextract=() sha256sums=('3e4422576d11773a03264021ff7985cd2eeac3382b511ae3052e835210a9a69a' 'ec55ac7da98f5f5ec54d096c5f79b656edec0ebca835b6b9f1d20fb7be7119c5' '613b0ed3fe4b5ee505ddb5122ee41604f464a5049be81c97601ee93970763a23' - ) + 'f071e0fd8d0d588f03fcc7db6f3cb3f7ea1b870d3416a0bde142d9aeb839d0f6') backup=(${_cfgdir:1}/fastcgi.conf ${_cfgdir:1}/fastcgi_params ${_cfgdir:1}/koi-win diff --git a/openresty.install b/openresty.install new file mode 100644 index 000000000000..5bb3904b5f80 --- /dev/null +++ b/openresty.install @@ -0,0 +1,10 @@ +post_install(){ + cat<<'EOL' +Please add a following line to the ~/.bashrc or ~/.zshrc : +export PATH=/opt/openresty/bin:$PATH +EOL + +} +post_upgrade(){ + post_install +} |