summaryrefslogtreecommitdiff
path: root/libre/ruby-hpricot
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-21 03:22:19 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-21 03:22:19 +0000
commitd0f33415f254cb2fee06fd89f9cfed4535322f37 (patch)
tree66c13d72eac4f0110772b4675231c891334137bc /libre/ruby-hpricot
parent7e108c74958ec076a3734822f61f145d0d69547f (diff)
Fri Mar 21 03:19:28 UTC 2014
Diffstat (limited to 'libre/ruby-hpricot')
-rw-r--r--libre/ruby-hpricot/PKGBUILD27
1 files changed, 0 insertions, 27 deletions
diff --git a/libre/ruby-hpricot/PKGBUILD b/libre/ruby-hpricot/PKGBUILD
deleted file mode 100644
index 6a15b2af7..000000000
--- a/libre/ruby-hpricot/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-_gemname=hpricot
-pkgname=ruby-$_gemname
-pkgver=0.8.6
-pkgdesc="_why's old HTML parser"
-url="http://github.com/hpricot/hpricot"
-license=('custom:MIT')
-
-pkgrel=2
-arch=('i686' 'x86_64')
-depends=('ruby')
-makedepends=('rubygems')
-source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
-noextract=(${_gemname}-${pkgver}.gem)
-md5sums=('b0f1f02448037f4f6243c33d5f818fa4')
-
-package() {
- cd "${srcdir}"
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
- gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
- "$_gemname-$pkgver.gem"
-
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -sr "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/COPYING \
- "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}