summaryrefslogtreecommitdiffstats
path: root/main/ruby-actionmailer/APKBUILD
blob: d08babccfa78a62c7225802f09e17eb4c3e4b3b2 (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.0.0
pkgrel=1
pkgdesc="Email on Rails"
url="http://rubygems.org/gems/actionmailer"
arch="noarch"
license="GPL"
depends="ruby ruby-actionpack 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="c3826fd2fed7ae30a6b5c1025dc3f6a8  actionmailer-4.0.0.gem"
sha256sums="f34de9acd7fc7abf37630e6f69853cf5862dada19fc8feff6a1b50da5a85c334  actionmailer-4.0.0.gem"
sha512sums="fa5a6398e8284b79c4d863990642d0822409f7bcbdf1ef8252d92a505556c358507932bb7e61aa3c56d045d9a1ea8ecaf3349f64de150f802769495d2c193378  actionmailer-4.0.0.gem"