[arch-commits] Commit in ruby-hpricot/repos (4 files)

Anatol Pomozov anatolik at archlinux.org
Wed Sep 3 19:35:31 UTC 2014


    Date: Wednesday, September 3, 2014 @ 21:35:31
  Author: anatolik
Revision: 118225

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  ruby-hpricot/repos/community-testing-i686/
  ruby-hpricot/repos/community-testing-i686/PKGBUILD
    (from rev 118224, ruby-hpricot/trunk/PKGBUILD)
  ruby-hpricot/repos/community-testing-x86_64/
  ruby-hpricot/repos/community-testing-x86_64/PKGBUILD
    (from rev 118224, ruby-hpricot/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   31 +++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   31 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: ruby-hpricot/repos/community-testing-i686/PKGBUILD (from rev 118224, ruby-hpricot/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2014-09-03 19:35:31 UTC (rev 118225)
@@ -0,0 +1,31 @@
+#$Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Andrea Scarpino <bash.lnx at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: <stefanh-husmann at t-online.de>
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+
+_gemname=hpricot
+pkgname=ruby-$_gemname
+pkgver=0.8.6
+pkgrel=2
+pkgdesc='A swift, liberal HTML parser with a fantastic library'
+arch=(i686 x86_64)
+url='http://code.whytheluckystiff.net/hpricot/'
+license=(MIT)
+depends=(ruby)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('87ce2c17960a5e1d7ceaa16d0591ca6a28379ce0')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+  find "$pkgdir/$_gemdir/extensions/" -name *.so -delete
+  rm -r "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/test"
+  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+  rm -r "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/ext"
+}

Copied: ruby-hpricot/repos/community-testing-x86_64/PKGBUILD (from rev 118224, ruby-hpricot/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-09-03 19:35:31 UTC (rev 118225)
@@ -0,0 +1,31 @@
+#$Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Andrea Scarpino <bash.lnx at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: <stefanh-husmann at t-online.de>
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+
+_gemname=hpricot
+pkgname=ruby-$_gemname
+pkgver=0.8.6
+pkgrel=2
+pkgdesc='A swift, liberal HTML parser with a fantastic library'
+arch=(i686 x86_64)
+url='http://code.whytheluckystiff.net/hpricot/'
+license=(MIT)
+depends=(ruby)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('87ce2c17960a5e1d7ceaa16d0591ca6a28379ce0')
+
+package() {
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  gem install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+  find "$pkgdir/$_gemdir/extensions/" -name *.so -delete
+  rm -r "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/test"
+  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+  rm -r "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/ext"
+}




More information about the arch-commits mailing list