aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionmailer4.2/APKBUILD
blob: e24988c4cb07d538dc8b7b20f2f26fc57543345a (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
40
41
42
43
44
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-actionmailer4.2
_gemname=actionmailer
pkgver=4.2.1
pkgrel=0
pkgdesc="Email on Rails"
url="http://rubygems.org/gems/actionmailer"
arch="noarch"
license="GPL"
depends="ruby
	ruby-actionpack4.2
	ruby-actionview4.2
	ruby-activejob4.2
	ruby-mail
	ruby-rails-dom-testing4.2
	"
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="2866b963579fe7586db3be3454c34ac2  actionmailer-4.2.1.gem"
sha256sums="f322b21623eb10eb302a21a803625bd57ce2b4ae24c2b5c14934a1359d63cf60  actionmailer-4.2.1.gem"
sha512sums="1162c28d0875d4ad2c4fc09c2bf3d7031025952106b34969acf22af6e12a8ba8e91042472953e2e1dc96f54cfa5d5ecb75b0103ba49292225d056e9f6eecaeb8  actionmailer-4.2.1.gem"