aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-gollum_rails-charlock_holmes
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-29 08:11:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-29 12:36:41 +0000
commit80acbaee801184140fac0c967cbb8aa051db2b06 (patch)
tree77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-gollum_rails-charlock_holmes
parent5db5ee5c13e577e862e822501b2e4863fbd63195 (diff)
downloadaports-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-gollum_rails-charlock_holmes')
-rw-r--r--unmaintained/ruby-gollum_rails-charlock_holmes/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-gollum_rails-charlock_holmes/APKBUILD b/unmaintained/ruby-gollum_rails-charlock_holmes/APKBUILD
new file mode 100644
index 0000000000..77a87f9f80
--- /dev/null
+++ b/unmaintained/ruby-gollum_rails-charlock_holmes/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Seung Soo Mun <hamletmun@gmail.com>
+# Maintainer:
+_gemname=charlock_holmes
+pkgname=ruby-gollum_rails-$_gemname
+pkgver=0.6.9.4
+pkgrel=1
+pkgdesc="provides binary and text detection as well as text transcoding using libicu"
+url="http://rubygems.org/gems/$_gemname"
+arch="all"
+license="MIT"
+depends="ruby"
+depends_dev=""
+makedepends="$depends_dev icu-dev ruby-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
+}
+
+md5sums="d0225d2149311cec0e51b1057a71846e charlock_holmes-0.6.9.4.gem"
+sha256sums="e52db7af0f7a652f55244455f84b4f1c09144f0d5e416f677a912f9147d6dfef charlock_holmes-0.6.9.4.gem"
+sha512sums="00a1d920418a1ebaf43245f8f94de831de15f29d972eac9e69ae9bcccc88140282c3a57f4f1a35ad49cb336df82589c19f7852bc60f9debfb1253b7111c36d32 charlock_holmes-0.6.9.4.gem"