diff --git a/srcpkgs/ruby-hpricot/template b/srcpkgs/ruby-hpricot/template new file mode 100644 index 00000000000..aca094bc6a3 --- /dev/null +++ b/srcpkgs/ruby-hpricot/template @@ -0,0 +1,21 @@ +# Template file for 'ruby-hpricot' +pkgname=ruby-hpricot +version=0.8.6 +revision=1 +wrksrc="${pkgname#ruby-}-${version}" +build_style=gemspec +makedepends="ruby-devel" +short_desc="Swift, liberal HTML parser" +maintainer="maxice8 " +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 +}