aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionmailer/APKBUILD
blob: 6fd9b4716ddc195d8fa5143ea0e472b1288dbcf8 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-actionmailer
_gemname=actionmailer
pkgver=4.1.8
pkgrel=0
pkgdesc="Email on Rails"
url="http://rubygems.org/gems/actionmailer"
arch="noarch"
license="GPL"
depends="ruby ruby-actionpack ruby-actionview ruby-mail"
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="04891f9cbfae2bd1cfb52222364acf1d  actionmailer-4.1.8.gem"
sha256sums="da902a84004a401a19277191e2b7b37dc15545886fc5acda8c7b56bf366952f4  actionmailer-4.1.8.gem"
sha512sums="96516bead9bc76765900fb23155c91468a3b9cb6c9cb1b057e426cbf5140b2d1f427177fb70e1ba6d4ad632e16720e65ed90ab8eacee7403095ab7535908f473  actionmailer-4.1.8.gem"