aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-roadie-rails/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ruby-roadie-rails/APKBUILD')
-rw-r--r--unmaintained/ruby-roadie-rails/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/unmaintained/ruby-roadie-rails/APKBUILD b/unmaintained/ruby-roadie-rails/APKBUILD
new file mode 100644
index 0000000000..bea29656c8
--- /dev/null
+++ b/unmaintained/ruby-roadie-rails/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=ruby-roadie-rails
+_gemname=roadie-rails
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="Hooks Roadie into your Rails application to help with email generation"
+url="http://github.com/Mange/roadie-rails"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-roadie ruby-railties4.2"
+depends_dev=""
+makedepends="$depends_dev ruby-dev"
+install=""
+subpackages=""
+source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
+
+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="79cd8fdf88fc5d4f602c0de6f32361e6 roadie-rails-1.1.1.gem"
+sha256sums="617ac9f34773d403577e398f8438f9ed34a7cc3b6e1cc6a88950e0ac6aa1afc3 roadie-rails-1.1.1.gem"
+sha512sums="01c397b5c57dbfdff756a8b9c8cbe1707fad9b9287c15154f9825c9a8e35ea7bd8781dac26ff60a948ff0e319d26789b1d47ccc56b82fddfe179758823d1531b roadie-rails-1.1.1.gem"