void-packages/srcpkgs/ruby-hpricot/template

22 lines
563 B
Bash

# Template file for 'ruby-hpricot'
pkgname=ruby-hpricot
version=0.8.6
revision=2
wrksrc="${pkgname#ruby-}-${version}"
build_style=gemspec
makedepends="ruby-devel"
short_desc="Swift, liberal HTML parser"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="http://code.whytheluckystiff.net/hpricot/"
distfiles="https://github.com/hpricot/hpricot/archive/${version}.tar.gz"
checksum=792f63cebe2f2b02058974755b4c8a3aef52e5daf37f779a34885d5ff2876017
pre_build() {
sed -i '3,4d' ext/hpricot_scan/extconf.rb
}
post_install() {
vlicense COPYING
}