diff options
author | Grey Christoforo | 2017-02-26 23:13:27 +0000 |
---|---|---|
committer | Grey Christoforo | 2017-02-26 23:13:27 +0000 |
commit | 8ed48888cdf6a1180479f549baa1aeb8db25e4af (patch) | |
tree | ee12cb53f85d01d9edcbee34d903a6a75f1e4cc7 | |
download | aur-8ed48888cdf6a1180479f549baa1aeb8db25e4af.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e7f6c6f3fd84 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# 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 + pkgrel = 1 + url = https://github.com/brianmario/charlock_holmes + arch = i686 + arch = x86_64 + license = MIT + depends = ruby + noextract = charlock_holmes-0.7.3.gem + options = !emptydirs + source = https://rubygems.org/downloads/charlock_holmes-0.7.3.gem + sha1sums = ac73baf383ddaaaf4dae4b43c79eec0a4d2bb2ee + +pkgname = ruby-charlock_holmes + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..32f0ae164510 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src/ +pkg/ +*.tar.gz +*.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d48104599887 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Generated by gem2arch (https://github.com/anatol/gem2arch) +# Maintainer: Grey Christoforo <first name at last name dot net> + +_gemname=charlock_holmes +pkgname=ruby-$_gemname +pkgver=0.7.3 +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) +options=(!emptydirs) +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +sha1sums=('ac73baf383ddaaaf4dae4b43c79eec0a4d2bb2ee') + +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" +} |