summaryrefslogtreecommitdiffstats
path: root/main/ruby-redmine-rails
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-09-11 15:32:09 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-09-11 15:32:09 +0000
commit8d0dc550f3a19a99088fdde75c3ab8796586ceea (patch)
treea178035b2e4344cd16a4a0d7f0b6c2e6dcea61bb /main/ruby-redmine-rails
parent738b411a5c1226a9f785af48562d5eb9ef814da8 (diff)
downloadaports-8d0dc550f3a19a99088fdde75c3ab8796586ceea.tar.bz2
aports-8d0dc550f3a19a99088fdde75c3ab8796586ceea.tar.xz
main/ruby-redmine-rails: new aport
Diffstat (limited to 'main/ruby-redmine-rails')
-rw-r--r--main/ruby-redmine-rails/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/ruby-redmine-rails/APKBUILD b/main/ruby-redmine-rails/APKBUILD
new file mode 100644
index 000000000..84a884376
--- /dev/null
+++ b/main/ruby-redmine-rails/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=rails
+pkgname=ruby-redmine-rails
+pkgver=3.2.14
+pkgrel=0
+pkgdesc="Ruby full-stack web framework"
+url="http://rubyonrails.org/"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-redmine-actionmailer ruby-redmine-actionpack ruby-redmine-activerecord
+ ruby-redmine-activeresource ruby-redmine-activesupport ruby-bundler ruby-redmine-railties"
+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="dc69ea25e9b380145a864b37b798389a rails-3.2.14.gem"
+sha256sums="d63321eb0231dbf576ba19017cf87b3e2d8b863dd6402f26f198455fd1377963 rails-3.2.14.gem"
+sha512sums="8c0255d05be09d260d5d50ea03872d1b532962b9000b1dd556cc769f17bd784082bce92471f20c5cc667f8dffe96a6ad55ab429665028f4a37aa25ccff3bfee6 rails-3.2.14.gem"