aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionmailer/APKBUILD
blob: 1e849a8e72637c8d6df34644518e057cc20d4882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-actionmailer
_gemname=actionmailer
pkgver=4.2.0
pkgrel=0
pkgdesc="Email on Rails"
url="http://rubygems.org/gems/actionmailer"
arch="noarch"
license="GPL"
depends="ruby ruby-actionpack ruby-actionview ruby-activejob ruby-mail
         ruby-rails-dom-testing"
depends_dev=
makedepends="$depends_dev ruby"
install=""
subpackages=""
source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"

_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
}

md5sums="c425c7924c9d34deaa79ddb158822a73  actionmailer-4.2.0.gem"
sha256sums="c699a71fc75532dd38a76e3f144ef817036ef3b0812beec665736947a24e42cb  actionmailer-4.2.0.gem"
sha512sums="28ccfa282e55d43911b5a2f30a9165f008ac3efd0ea8224634b294dce63500d11acf5f2af8700e57cfe4fd57cff29bb37ef3de9c0d933defe667536a4fa610df  actionmailer-4.2.0.gem"