aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-actionpack-action_caching4.2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-26 10:53:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-26 14:21:45 +0000
commitd36ac589e786cab5e027568315616ea670becaaf (patch)
tree64c7cb4cbfb519d43f9d621c5eb7ebd851669029 /main/ruby-actionpack-action_caching4.2
parent871565823f7d36a83b4cd277efaaa9d9d1f68eb8 (diff)
downloadaports-d36ac589e786cab5e027568315616ea670becaaf.tar.bz2
aports-d36ac589e786cab5e027568315616ea670becaaf.tar.xz
main/ruby-actionpack-action_caching4.2: new aport (for redmine)
Diffstat (limited to 'main/ruby-actionpack-action_caching4.2')
-rw-r--r--main/ruby-actionpack-action_caching4.2/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/main/ruby-actionpack-action_caching4.2/APKBUILD b/main/ruby-actionpack-action_caching4.2/APKBUILD
new file mode 100644
index 0000000000..c7d7c1f3a5
--- /dev/null
+++ b/main/ruby-actionpack-action_caching4.2/APKBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=actionpack-action_caching
+pkgname=ruby-${_gemname}4.2
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="Action caching for Action Pack"
+url="https://github.com/rails/actionpack-action_caching"
+arch="noarch"
+license="MIT"
+depends="ruby ruby-actionpack4.2"
+depends_dev=
+makedepends="$depends_dev"
+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
+
+ 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="6d7a86a85aa0d74322702280bde687a3 actionpack-action_caching-1.1.1.gem"
+sha256sums="e7715ff3534d124e58fd40ebf6c05708d830fe2c71c2f2643ca060025b00b224 actionpack-action_caching-1.1.1.gem"
+sha512sums="6ff988a5f715a8956826bb8941c15eabf9db1b08d223467cfb595c1596c955af86ddebea30a117aeff770092758d1940632acc13583aba9f3fd5793719e70efe actionpack-action_caching-1.1.1.gem"