aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-roadie-rails/APKBUILD
blob: bea29656c8849f953ec48432e283f3918cc04166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"