[arch-commits] Commit in ruby-rack/repos (2 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Mon Jan 9 17:48:11 UTC 2017
Date: Monday, January 9, 2017 @ 17:48:10
Author: bpiotrowski
Revision: 206165
archrelease: copy trunk to community-staging-any
Added:
ruby-rack/repos/community-staging-any/
ruby-rack/repos/community-staging-any/PKGBUILD
(from rev 206164, ruby-rack/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: ruby-rack/repos/community-staging-any/PKGBUILD (from rev 206164, ruby-rack/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-01-09 17:48:10 UTC (rev 206165)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+
+pkgname=ruby-rack
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="Rack provides minimal, modular and adaptable interface for developing web applications in Ruby"
+arch=(any)
+#url="http://rack.rubyforge.org/"
+url="http://rubyforge.org/projects/rack/"
+license=('MIT')
+depends=('ruby' 'rubygems')
+noextract=("rack-$pkgver.gem")
+source=(http://gems.rubyforge.org/gems/rack-$pkgver.gem)
+md5sums=('ef209944508b4b1901840682b835c573')
+
+package() {
+ cd "$srcdir"
+ export HOME=/tmp
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" rack-$pkgver.gem
+ mkdir -p "$pkgdir"/usr/share/licenses/ruby-rack
+ ln -s `find "$pkgdir"/usr/lib/ruby/ -type f -name COPYING | sed "s|"$pkgdir"||"` "$pkgdir"/usr/share/licenses/ruby-rack/COPYING
+}
More information about the arch-commits
mailing list