diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-25 20:35:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-26 14:21:43 +0000 |
commit | cb0b78ea94ac8c3f0ff33e12296fbe6cd5d66362 (patch) | |
tree | 463a1da828a272cc1d40faa8c8fb93f84e28d530 /main | |
parent | dacc6a7540e75af87291bc95fdd0943c58ee207d (diff) | |
download | aports-cb0b78ea94ac8c3f0ff33e12296fbe6cd5d66362.tar.bz2 aports-cb0b78ea94ac8c3f0ff33e12296fbe6cd5d66362.tar.xz |
main/ruby-railties4.2: rename and upgrade to 4.2.1
Diffstat (limited to 'main')
-rw-r--r-- | main/ruby-railties4.2/APKBUILD (renamed from main/ruby-railties/APKBUILD) | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/main/ruby-railties/APKBUILD b/main/ruby-railties4.2/APKBUILD index a19477625f..6dadc74c2c 100644 --- a/main/ruby-railties/APKBUILD +++ b/main/ruby-railties4.2/APKBUILD @@ -1,13 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> _gemname=railties -pkgname=ruby-$_gemname -pkgver=4.2.0 +pkgname=ruby-${_gemname}4.2 +pkgver=4.2.1 pkgrel=0 pkgdesc="Rails internals: application bootup, plugins, generators, and rake tasks" url="http://www.rubyonrails.org/" arch="noarch" license="MIT" -depends="ruby ruby-actionpack ruby-activesupport ruby-rake ruby-thor" +depends="ruby ruby-actionpack4.2 ruby-activesupport4.2 + ruby-rake ruby-thor" depends_dev= makedepends="$depends_dev ruby" install="" @@ -30,8 +31,16 @@ package() { rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths + + cd "$pkgdir" + for i in usr/lib/ruby/gems/*/bin/*; do + if [ -e "$i" ]; then + mkdir -p "$pkgdir"/usr/bin + ln -s /$i "$pkgdir"/usr/bin/ + fi + done } -md5sums="f7b480727ab984c24280d24b4783734a railties-4.2.0.gem" -sha256sums="79a13278dca621804ad59000f748d66e517432c8d6f058e37e19d5fd66579473 railties-4.2.0.gem" -sha512sums="2758f124ea079dbd20e5b2ba71e23273bae506e44f48389a1c8bfd2f74c55416efa1c88e7fe3819496c0c661a1ea8311711c7a0f22c620c6108b6c9c2b7b1b86 railties-4.2.0.gem" +md5sums="a24a5e3380945716de414aa25209171b railties-4.2.1.gem" +sha256sums="a01ce5513806d712cca8ed60429493d18093eff680201e2e288602c1405e2e8b railties-4.2.1.gem" +sha512sums="40d3316a0fdaf212391e25a894b6d8b7a74e80eda6d81c620d3bb62ee4f6644d1585a7f151257122e2ea12b4bdb6807f71192c7794d94f10ed7c95d21c601361 railties-4.2.1.gem" |