diff options
Diffstat (limited to 'unmaintained/ruby-unicorn/APKBUILD')
-rw-r--r-- | unmaintained/ruby-unicorn/APKBUILD | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/unmaintained/ruby-unicorn/APKBUILD b/unmaintained/ruby-unicorn/APKBUILD deleted file mode 100644 index 6068cb35b3..0000000000 --- a/unmaintained/ruby-unicorn/APKBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Maintainer: Carlo Landmeter <clandmeter@gmail.com> -_gemname=unicorn -pkgname=ruby-unicorn -pkgver=4.8.3 -pkgrel=2 -pkgdesc="Unicorn is an HTTP server for Rack applications" -url="http://unicorn.bogomips.org" -arch="all" -license="MIT" -depends="ruby ruby-kgio ruby-rack ruby-raindrops" -depends_dev="ruby-dev" -makedepends="$depends_dev ruby" -install="" -subpackages="" -source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem - redmine.conf.rb.sample - unicorn.initd - unicorn.confd" - -_builddir="$srcdir"/$_realname-$pkgver -build() { - return 0 -} - -package() { - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - local _geminstdir=$_gemdir/gems/$_gemname-$pkgver - mkdir -p "$pkgdir" || return 1 - - gem install --local --install-dir "$pkgdir"/$_gemdir \ - --ignore-dependencies --verbose --no-rdoc --no-ri \ - "$srcdir"/$_gemname-$pkgver.gem || return 1 - rm -rf "$pkgdir"/$_gemdir/cache \ - "$pkgdir"/$_geminstdir/ext \ - "$pkgdir"/$_geminstdir/.require_paths - - cd "$pkgdir" - for i in usr/lib/ruby/gems/*/bin/*; do - if [ -e "$i" ]; then - mkdir -p "$pkgdir"/usr/bin - ln -s /$i "$pkgdir"/usr/bin/ - fi - done - - 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="d1f58658c7ad4e46c4f319cc715fb710 unicorn-4.8.3.gem -416e6d6c3e5f9f191d1e8c3975b0d4f5 redmine.conf.rb.sample -f32a54abc3df5273620bd493f314c3ee unicorn.initd -0745d4e1605ff961c83773613c68347d unicorn.confd" -sha256sums="44b74e46fc8cd67510ecc7fac31d4c8503955066781542b36f1d8a3ee316efce unicorn-4.8.3.gem -87a565f79a3f4b0544880af67c66e28fa0afdca9576191e725853da1159ec1f1 redmine.conf.rb.sample -41cc2f5235d15e2bf1676a35464013630aa0518773e1de21519fc1eceda54eee unicorn.initd -8b6c5aff19eb8234192f8df79f5c8c7a2325f8f26a90af97271bf126269dc93c unicorn.confd" -sha512sums="6c8a3c9331d380ebe6e9765a873a4ec37e91dc5e743af5f3d6814ffc19dabb64945994463bb64b7dc43e9a78160fa6f1e5b6c9e1f41b3a54089793f801c44e73 unicorn-4.8.3.gem -11abdc40c406e88c71feeb1bd6282534552f782398b694907e6afb266361e30091f4e9645e3ae9cc14bae68a4909cb087bbf0f6c13c3e26b41518565e942492d redmine.conf.rb.sample -eddf9b47c56c5962e7fe832f06ceecf3c4320ac00b39f8b06846bf542d5aaf9c78cded5a6e33675197593463d0192d4d61a7e14dea938b7227458c8c57d15a28 unicorn.initd -40931b0f41f8f19ed2bfee726c6abdf40e9ca03940ca6fa4db0c468b59409b99506dbad47316dec528ae7173b6bd3856ba80be1f45fa3995ed18efefed1c4ce1 unicorn.confd" |