mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
22 lines
660 B
Bash
22 lines
660 B
Bash
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
|
||
|
pkgname=ruby-htmlentities
|
||
|
pkgver=4.0.0
|
||
|
pkgrel=2
|
||
|
pkgdesc="A fast and liberal HTML parser for Ruby."
|
||
|
arch=('any')
|
||
|
url="http://htmlentities.rubyforge.org"
|
||
|
license=('MIT')
|
||
|
depends=('ruby')
|
||
|
makedepends=('rubygems')
|
||
|
source=(http://rubyforge.org/download.php/18492/htmlentities-$pkgver.gem)
|
||
|
md5sums=('8490050367c95d63f83049852f7e93a8')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/
|
||
|
gem install -i \
|
||
|
$pkgdir/usr/lib/ruby/gems/1.8 htmlentities-$pkgver.gem || return 1
|
||
|
install -Dm644 \
|
||
|
$pkgdir/usr/lib/ruby/gems/1.8/gems/htmlentities-4.0.0/COPYING.txt \
|
||
|
$pkgdir/usr/share/licenses/$pkgname/COPYING.txt || return 1
|
||
|
}
|