From 96040730f7c9a20883d4367ff7acf52d420f43b0 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 27 Oct 2018 04:57:11 -0300 Subject: [PATCH] New package: ruby-hpricot-0.8.6. --- srcpkgs/ruby-hpricot/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/ruby-hpricot/template 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 +}