diff options
Diffstat (limited to 'main/ruby-activejob4.2/APKBUILD')
-rw-r--r-- | main/ruby-activejob4.2/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/main/ruby-activejob4.2/APKBUILD b/main/ruby-activejob4.2/APKBUILD new file mode 100644 index 0000000000..da4ac972f3 --- /dev/null +++ b/main/ruby-activejob4.2/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +_gemname=activejob +pkgname=ruby-${_gemname}4.2 +pkgver=4.2.1 +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" + +_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="d13635cf37e9637f7fa5d2856e92ca83 activejob-4.2.1.gem" +sha256sums="33cee3d50dbfacd105766be1f5885dfa614deb8a18c45a3a398f294457c8bd63 activejob-4.2.1.gem" +sha512sums="876d8291bce1ed51caf5f54d7912682d628b29bb2850cab7c55ef326953355eb1584fcfe458ee5a75ba8478583646268e58c2661daf0f66a872ad9d12e96e908 activejob-4.2.1.gem" |