diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2012-12-06 18:50:10 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2012-12-06 18:54:26 +0100 |
commit | 31ac7d0b6e5e817a9099399764d84f40c81caad8 (patch) | |
tree | 84fa3e62c69474a96688db257f1516739e879f46 /main/ruby-unicorn/APKBUILD | |
parent | 3b6ebba9ab54d866dbcef646b5170ab2534ee86f (diff) | |
download | aports-31ac7d0b6e5e817a9099399764d84f40c81caad8.tar.bz2 aports-31ac7d0b6e5e817a9099399764d84f40c81caad8.tar.xz |
main/ruby-unicorn: add init and default redmine config
Diffstat (limited to 'main/ruby-unicorn/APKBUILD')
-rw-r--r-- | main/ruby-unicorn/APKBUILD | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/main/ruby-unicorn/APKBUILD b/main/ruby-unicorn/APKBUILD index d319016938..6fb8985aaa 100644 --- a/main/ruby-unicorn/APKBUILD +++ b/main/ruby-unicorn/APKBUILD @@ -2,7 +2,7 @@ _gemname=unicorn pkgname=ruby-unicorn pkgver=4.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="Unicorn is an HTTP server for Rack applications" url="http://unicorn.bogomips.org" arch="all" @@ -12,7 +12,10 @@ depends_dev="ruby-dev" makedepends="$depends_dev ruby-gems" install="" subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem + redmine.conf.rb.sample + unicorn.initd + unicorn.confd" _builddir="$srcdir"/$_realname-$pkgver build() { @@ -30,6 +33,16 @@ package() { rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths + install -Dm644 "$srcdir"/$_gemname.confd \ + "$pkgdir"/etc/conf.d/$_gemname + install -D -m755 "$srcdir"/$_gemname.initd \ + "$pkgdir"/etc/init.d/$_gemname + # install sample redmine config + install -D -m644 "$srcdir"/redmine.conf.rb.sample \ + "$pkgdir"/etc/unicorn/redmine.conf.rb.sample } -md5sums="00f52cd67c3ed7a7e0672104c6df9d7a unicorn-4.4.0.gem" +md5sums="00f52cd67c3ed7a7e0672104c6df9d7a unicorn-4.4.0.gem +5b7b9876f14488e5c84503d3d0351fb6 redmine.conf.rb.sample +3b788ff54077428658e7044fb54c8364 unicorn.initd +0745d4e1605ff961c83773613c68347d unicorn.confd" |