diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:06:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | f58e361776f7398d806321ea9d63f59f5fc38b5d (patch) | |
tree | eea648afb288a35c5b1e2bffb3d3b4442578b08b /unmaintained/ruby-jquery-rails4.2 | |
parent | b951abfe754edd478b0a17f12cad5fb56e42eee1 (diff) | |
download | aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.bz2 aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.xz |
move community/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-jquery-rails4.2')
-rw-r--r-- | unmaintained/ruby-jquery-rails4.2/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/ruby-jquery-rails4.2/APKBUILD b/unmaintained/ruby-jquery-rails4.2/APKBUILD new file mode 100644 index 0000000000..85197568b4 --- /dev/null +++ b/unmaintained/ruby-jquery-rails4.2/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Markus M. May <triplem@javafreedom.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +_gemname=jquery-rails +pkgname=ruby-${_gemname}4.2 +pkgver=3.1.4 +pkgrel=0 +pkgdesc="jQuery and the jQuery-ujs driver for Rails 4.2" +url="http://rubygems.org/gems/jquery-rails" +arch="noarch" +license="MIT" +depends="ruby ruby-railties4.2 ruby-thor" +depends_dev= +makedepends="$depends_dev ruby" +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="5ffd8dcced7e70e82bc34985e6395f90 jquery-rails-3.1.4.gem" +sha256sums="f908f67bb9b63dbc88eeecc78257235dbc695e23926fd53911378a27b4d6b532 jquery-rails-3.1.4.gem" +sha512sums="fbec0e09bff90d4f21a512c628767ceaf85f311ac8bd81ca58a7b41f71c0a6b25d9ab9246c4043abf71f7afaf217d51a796f2207c2321583ddd14845248c9f1a jquery-rails-3.1.4.gem" |