diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-11 15:29:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-01 09:40:02 +0000 |
commit | f67ed7f787275cfed188cb5005167b26f974ac26 (patch) | |
tree | 54bdde8fe78bd3d9fe6af39014954b88f0567e63 | |
parent | 9a308ad47256075bf887fba8e3bcfa558a5bccb5 (diff) | |
download | alpine_aports-f67ed7f787275cfed188cb5005167b26f974ac26.tar.bz2 alpine_aports-f67ed7f787275cfed188cb5005167b26f974ac26.tar.xz alpine_aports-f67ed7f787275cfed188cb5005167b26f974ac26.zip |
main/ruby-redmine-actionpack: new aport
(cherry picked from commit 4c314f0e4ac01cb7cea63c37c63c1ac537700337)
-rw-r--r-- | main/ruby-redmine-actionpack/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/ruby-redmine-actionpack/APKBUILD b/main/ruby-redmine-actionpack/APKBUILD new file mode 100644 index 0000000000..648178446d --- /dev/null +++ b/main/ruby-redmine-actionpack/APKBUILD | |||
@@ -0,0 +1,39 @@ | |||
1 | # Contributor: Carlo Landmeter <clandmeter@gmail.com> | ||
2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | pkgname=ruby-redmine-actionpack | ||
4 | _gemname=actionpack | ||
5 | pkgver=3.2.14 | ||
6 | pkgrel=0 | ||
7 | pkgdesc="Eases web-request routing, handling, and response as a half-way front, half-way page controller" | ||
8 | url="http://rubygems.org/gems/actionpack" | ||
9 | arch="noarch" | ||
10 | license="GPL" | ||
11 | depends="ruby ruby-redmine-activemodel ruby-redmine-activesupport ruby-builder ruby-erubis | ||
12 | ruby-journey ruby-rack ruby-rack-cache ruby-rack-test ruby-sprockets" | ||
13 | depends_dev= | ||
14 | makedepends="$depends_dev ruby-gems" | ||
15 | install="" | ||
16 | subpackages="" | ||
17 | source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" | ||
18 | |||
19 | _builddir="$srcdir"/$_realname-$pkgver | ||
20 | build() { | ||
21 | return 0 | ||
22 | } | ||
23 | |||
24 | package() { | ||
25 | local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" | ||
26 | local _geminstdir=$_gemdir/gems/$_gemname-$pkgver | ||
27 | mkdir -p "$pkgdir" || return 1 | ||
28 | |||
29 | gem install --local --install-dir "$pkgdir"/$_gemdir \ | ||
30 | --ignore-dependencies --verbose --no-rdoc --no-ri \ | ||
31 | "$srcdir"/$_gemname-$pkgver.gem || return 1 | ||
32 | rm -rf "$pkgdir"/$_gemdir/cache \ | ||
33 | "$pkgdir"/$_geminstdir/ext \ | ||
34 | "$pkgdir"/$_geminstdir/.require_paths | ||
35 | } | ||
36 | |||
37 | md5sums="ca059c1e577434053533425ab31d2a3d actionpack-3.2.14.gem" | ||
38 | sha256sums="efdde0abd84e6795939bb578885554c0031f1b9232b095c2d2389b411b691653 actionpack-3.2.14.gem" | ||
39 | sha512sums="c483d11936b9a5e56d9896431358e2191b8ca50d6c0b481a76e1c7aca0ff877bde6b994e818f884a4c5d10b5e1f266d6bb10476cd61fad62f7980693468622b4 actionpack-3.2.14.gem" | ||