diff options
Diffstat (limited to 'unmaintained/ruby-activejob4.2/APKBUILD')
-rw-r--r-- | unmaintained/ruby-activejob4.2/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/unmaintained/ruby-activejob4.2/APKBUILD b/unmaintained/ruby-activejob4.2/APKBUILD new file mode 100644 index 0000000000..94e96f3f14 --- /dev/null +++ b/unmaintained/ruby-activejob4.2/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +_gemname=activejob +pkgname=ruby-${_gemname}4.2 +pkgver=4.2.5.2 +pkgrel=0 +pkgdesc="Declare job classes that can be run by a variety of queueing backends" +url=http://rubyonrails.org/ +arch=noarch +license=MIT +depends="ruby ruby-activesupport4.2 ruby-globalid" +depends_dev= +makedepends="$depends_dev ruby" +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="704453dc45213c5448e2cb3726d8b8f9 activejob-4.2.5.2.gem" +sha256sums="cecb9bbc55292dee064ca479990c6e50fa3e2273aac6722ce058d18c22383026 activejob-4.2.5.2.gem" +sha512sums="5aee66c9230d830ee8881be2bfcca618b4e0b2265b2c1873321941af93ec26da3facb4d08dce8f271caf32d5b14a771ebfe4091781d903610e25231ca4671765 activejob-4.2.5.2.gem" |