aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-actionmailer4.2/APKBUILD
blob: 5f79b557769b264b0764b049124bc41d6f80a2a1 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-actionmailer4.2
_gemname=actionmailer
pkgver=4.2.5.2
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"

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="41381a5b67cec2383e0dabc90eee2cc2  actionmailer-4.2.5.2.gem"
sha256sums="8cee5f2f1e58c8ada17cca696377443c0cbc9675df2b7eef97a04318876484b5  actionmailer-4.2.5.2.gem"
sha512sums="854ccc09f24b34055f5c8217dc105afab1d80ae195d42b98ae9a19810b3035cb31b8403d9b87c475dd519705d2ce37525f492eb105af52fe573fa44b3908036a  actionmailer-4.2.5.2.gem"