aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-redmine-actionmailer/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby-redmine-actionmailer/APKBUILD')
-rw-r--r--main/ruby-redmine-actionmailer/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/ruby-redmine-actionmailer/APKBUILD b/main/ruby-redmine-actionmailer/APKBUILD
new file mode 100644
index 0000000000..993b874a50
--- /dev/null
+++ b/main/ruby-redmine-actionmailer/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ruby-redmine-actionmailer
+_gemname=actionmailer
+pkgver=3.2.14
+pkgrel=0
+pkgdesc="Email on Rails"
+url="http://rubygems.org/gems/actionmailer"
+arch="noarch"
+license="GPL"
+depends="ruby ruby-redmine-actionpack ruby-mail"
+depends_dev=
+makedepends="$depends_dev ruby-gems"
+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="c88cfdad8af74280594d0aada8afddc8 actionmailer-3.2.14.gem"
+sha256sums="37949cc1011a7891a028619ecbd8caaa7838b7ea459ded57f5ce5ed6f26132aa actionmailer-3.2.14.gem"
+sha512sums="9fb1b0aa03f015189bad65aaf25fd0223baa0bc16336496cd36dbc39147c4449ee7e9c258ca9de98b17872a50bded430b7d9650b9d2de34ca03b80a377090d65 actionmailer-3.2.14.gem"