APKBUILD 1.26 KB
Newer Older
1 2 3 4
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ruby-redmine-actionmailer
_gemname=actionmailer
5
pkgver=3.2.21
6
pkgrel=0
7 8 9 10 11 12
pkgdesc="Email on Rails"
url="http://rubygems.org/gems/actionmailer"
arch="noarch"
license="GPL"
depends="ruby ruby-redmine-actionpack ruby-mail"
depends_dev=
13
makedepends="$depends_dev ruby"
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
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
}

37 38 39
md5sums="8a3c94634c962ceb9e4f31dc7e2b85da  actionmailer-3.2.21.gem"
sha256sums="d5d197b886264770a0f3acf9a7a22fdec537e63f2764a05ca840b3dda7cdee41  actionmailer-3.2.21.gem"
sha512sums="62cf2a86c2f50e2683a2fd02d2ff4f82c38d9244a2e8263689299ac993be066f983d04cc80d425c56603c9cf609f6e1b35f552e9529548b645d3c5c5f57080ba  actionmailer-3.2.21.gem"