diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:11:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | 80acbaee801184140fac0c967cbb8aa051db2b06 (patch) | |
tree | 77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-file-tail | |
parent | 5db5ee5c13e577e862e822501b2e4863fbd63195 (diff) | |
download | aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.bz2 aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.xz |
move testing/ruby-* to unmaintained
ruby-mime-types and ruby-nokogiri was there already so remove those
Diffstat (limited to 'unmaintained/ruby-file-tail')
-rw-r--r-- | unmaintained/ruby-file-tail/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/ruby-file-tail/APKBUILD b/unmaintained/ruby-file-tail/APKBUILD new file mode 100644 index 0000000000..3505eb53ec --- /dev/null +++ b/unmaintained/ruby-file-tail/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Matt Smith <mcs@darkregion.net> +# Maintainer: Matt Smith <mcs@darkregion.net> +_gemname=file-tail +pkgname=ruby-$_gemname +pkgver=1.0.12 +pkgrel=1 +pkgdesc="Small library that allows Ruby to tail files." +url="http://flori.github.com/file-tail/" +arch="noarch" +license="GPL2" +depends="ruby ruby-tins" +depends_dev="" +makedepends="ruby-dev" +install="" +subpackages="" +source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_gemname-$pkgver +build() { + mkdir -p "$_builddir" || return 1 + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ + --ignore-dependencies \ + --verbose \ + --no-rdoc \ + --no-ri \ + || return 1 + rm -rf "$pkgdir"/$_gemdir/cache \ + "$pkgdir"/$_geminstdir/ext \ + "$pkgdir"/$_geminstdir/.require_paths +} + +package() { + mkdir -p "$pkgdir" || return 1 + cp -ra "$_builddir"/* "$pkgdir"/ || return 1 +} + +md5sums="3875bf548788c00627b12cd486b206df file-tail-1.0.12.gem" +sha256sums="32c490ba6b9f4036291e4e03d20ffffbfd40d65875b50c74e7b7cc23b9edfd57 file-tail-1.0.12.gem" +sha512sums="ec289569e4fdb2f18448c2853916da5c501af2f1be6ad50284ee8404cc259ac9ff9fb88251b889899aa917bc015be78ba385b8050cba22387e772975736a6b1f file-tail-1.0.12.gem" |