Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/.SRCINFO b/.SRCINFO
index e7f6c6f..f9e0eb7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,17 @@
-# Generated by mksrcinfo v8
-# Sun Feb 26 23:13:24 UTC 2017
pkgbase = ruby-charlock_holmes
pkgdesc = Character encoding detection, brought to you by ICU
- pkgver = 0.7.3
+ pkgver = 0.7.6
pkgrel = 1
url = https://github.com/brianmario/charlock_holmes
arch = i686
arch = x86_64
license = MIT
+ makedepends = ruby-rdoc
depends = ruby
- noextract = charlock_holmes-0.7.3.gem
+ noextract = charlock_holmes-0.7.6.gem
options = !emptydirs
- source = https://rubygems.org/downloads/charlock_holmes-0.7.3.gem
- sha1sums = ac73baf383ddaaaf4dae4b43c79eec0a4d2bb2ee
+ source = https://rubygems.org/downloads/charlock_holmes-0.7.6.gem
+ sha1sums = 546b3157f72a80a66627f90053d8e268f29144df
pkgname = ruby-charlock_holmes
diff --git a/PKGBUILD b/PKGBUILD
index d481045..a1b94cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,21 @@
_gemname=charlock_holmes
pkgname=ruby-$_gemname
-pkgver=0.7.3
+pkgver=0.7.6
pkgrel=1
pkgdesc='Character encoding detection, brought to you by ICU'
arch=(i686 x86_64)
url='https://github.com/brianmario/charlock_holmes'
license=(MIT)
depends=(ruby)
+makedepends=(ruby-rdoc)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)
-sha1sums=('ac73baf383ddaaaf4dae4b43c79eec0a4d2bb2ee')
+sha1sums=('546b3157f72a80a66627f90053d8e268f29144df')
package() {
local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
- install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/MIT-LICENSE" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.