mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
23 lines
703 B
Bash
23 lines
703 B
Bash
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
|
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
|
|
|
|
pkgname=ruby-hpricot
|
|
pkgver=0.8
|
|
pkgrel=5
|
|
pkgdesc="A fast and liberal HTML parser for Ruby."
|
|
arch=('i686' 'x86_64')
|
|
url="http://code.whytheluckystiff.net/hpricot"
|
|
license=('custom')
|
|
depends=('ruby')
|
|
makedepends=('rubygems')
|
|
source=(http://gems.rubyforge.org/gems/hpricot-$pkgver.gem)
|
|
md5sums=('43b2a91da1dfc53105d907dfe382eda2')
|
|
|
|
build() {
|
|
cd $srcdir/
|
|
gem install -i $pkgdir/usr/lib/ruby/gems/1.8 \
|
|
hpricot-$pkgver.gem || return 1
|
|
install -d $pkgdir/usr/share/licenses/$pkgname || return 1
|
|
bsdtar x -C $pkgdir/usr/share/licenses/$pkgname \
|
|
-f data.tar.gz COPYING || return 1
|
|
}
|