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-activerecord4.2 | |
parent | b951abfe754edd478b0a17f12cad5fb56e42eee1 (diff) | |
download | aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.bz2 aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.xz |
move community/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-activerecord4.2')
-rw-r--r-- | unmaintained/ruby-activerecord4.2/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/ruby-activerecord4.2/APKBUILD b/unmaintained/ruby-activerecord4.2/APKBUILD new file mode 100644 index 0000000000..3c14c579e9 --- /dev/null +++ b/unmaintained/ruby-activerecord4.2/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +_gemname=activerecord +pkgname=ruby-${_gemname}4.2 +pkgver=4.2.5.2 +pkgrel=0 +pkgdesc="Ruby ActiveRecord pattern (Fowler, PoEAA) for ORM" +url="http://rubygems.org/gems/activerecord" +arch="noarch" +license="GPL" +depends="ruby ruby-activemodel4.2 ruby-activesupport4.2 + ruby-arel" +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="9cd2338b06000ab0d59e0a83ee6951b3 activerecord-4.2.5.2.gem" +sha256sums="c2b1b6a4c6b8542c2464b457dce4cac4915efcbd3d5acfba57102e58474c33f2 activerecord-4.2.5.2.gem" +sha512sums="841271e01b6472e6ba0881b7fd51863fcd028255cf88b606ad9f726af5947b71286a5087718618c31c81c8a28aa443bfe69584ac50b6b397638dc0639ce8666e activerecord-4.2.5.2.gem" |