aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-09-11 15:29:10 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-09-11 15:29:10 +0000
commitca36810e4c8a1fa2a207081034013696ff7383b2 (patch)
treeb1f35b606cf921dec53d0d4191d78e65b910e553
parent511074cc3703da53784b4a589e2cd7d8e5eb33f5 (diff)
downloadaports-ca36810e4c8a1fa2a207081034013696ff7383b2.tar.bz2
aports-ca36810e4c8a1fa2a207081034013696ff7383b2.tar.xz
main/ruby-redmine-actionmailer: new aport
-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"