aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-03-18 15:51:47 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-03-18 16:26:13 +0100
commitdf52dff2b3dd2034ebbdbcfb54eb24295cb7e56d (patch)
tree5e00099fba5d220b2e96916d4cf4eec79dfdacbb /community
parent14465417bb61f4577a64b89f7cf2ee273a34e920 (diff)
downloadaports-df52dff2b3dd2034ebbdbcfb54eb24295cb7e56d.tar.bz2
aports-df52dff2b3dd2034ebbdbcfb54eb24295cb7e56d.tar.xz
community/ruby-roadie-rails: new aport
Diffstat (limited to 'community')
-rw-r--r--community/ruby-roadie-rails/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/ruby-roadie-rails/APKBUILD b/community/ruby-roadie-rails/APKBUILD
new file mode 100644
index 0000000000..bea29656c8
--- /dev/null
+++ b/community/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"