diff options
Diffstat (limited to 'libre/ruby-hpricot/PKGBUILD')
-rw-r--r-- | libre/ruby-hpricot/PKGBUILD | 27 |
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 -} |