diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-11 15:31:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-10-01 09:40:04 +0000 |
commit | 5a0527b0896a43920eb890c1d717d824e171ab00 (patch) | |
tree | 69cc294c0f6bec1af7ae4b7d0fc8a21fd69b5be9 | |
parent | e625f996863a792b52988ae3fd8511f9605134f6 (diff) | |
download | alpine_aports-5a0527b0896a43920eb890c1d717d824e171ab00.tar.bz2 alpine_aports-5a0527b0896a43920eb890c1d717d824e171ab00.tar.xz alpine_aports-5a0527b0896a43920eb890c1d717d824e171ab00.zip |
main/ruby-redmine-activesupport: new aport
(cherry picked from commit 2e0100cd519e421da68f672420776731fee40953)
-rw-r--r-- | main/ruby-redmine-activesupport/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/ruby-redmine-activesupport/APKBUILD b/main/ruby-redmine-activesupport/APKBUILD new file mode 100644 index 0000000000..40ef6a33ff --- /dev/null +++ b/main/ruby-redmine-activesupport/APKBUILD | |||
@@ -0,0 +1,38 @@ | |||
1 | # Contributor: Carlo Landmeter <clandmeter@gmail.com> | ||
2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | pkgname=ruby-redmine-activesupport | ||
4 | _gemname=activesupport | ||
5 | pkgver=3.2.14 | ||
6 | pkgrel=0 | ||
7 | pkgdesc="Utility classes and extension to the standard library" | ||
8 | url="http://rubygems.org/gems/activesupport" | ||
9 | arch="noarch" | ||
10 | license="GPL" | ||
11 | depends="ruby ruby-i18n ruby-multi_json" | ||
12 | depends_dev= | ||
13 | makedepends="$depends_dev ruby-gems" | ||
14 | install="" | ||
15 | subpackages="" | ||
16 | source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" | ||
17 | |||
18 | _builddir="$srcdir"/$_realname-$pkgver | ||
19 | build() { | ||
20 | return 0 | ||
21 | } | ||
22 | |||
23 | package() { | ||
24 | local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" | ||
25 | local _geminstdir=$_gemdir/gems/$_gemname-$pkgver | ||
26 | mkdir -p "$pkgdir" || return 1 | ||
27 | |||
28 | gem install --local --install-dir "$pkgdir"/$_gemdir \ | ||
29 | --ignore-dependencies --verbose --no-rdoc --no-ri \ | ||
30 | "$srcdir"/$_gemname-$pkgver.gem || return 1 | ||
31 | rm -rf "$pkgdir"/$_gemdir/cache \ | ||
32 | "$pkgdir"/$_geminstdir/ext \ | ||
33 | "$pkgdir"/$_geminstdir/.require_paths | ||
34 | } | ||
35 | |||
36 | md5sums="33c9312c28005e2409793a792f5a534a activesupport-3.2.14.gem" | ||
37 | sha256sums="4fa214290ce320e7b63c88a0e7f384bc773e3067bed8095683cd401628868891 activesupport-3.2.14.gem" | ||
38 | sha512sums="2c3ebd3ed0bf1631ef5b0d9164af98937596fb7314fa091bf6f4e5fb77ecaaeb58654067fd1dd426a7139f6ff567a6a77bf8ebd320e6b35fdd8ff91fef57bd45 activesupport-3.2.14.gem" | ||