void-packages/srcpkgs/ruby-hpricot/template
2021-07-23 14:49:53 +02:00

21 lines
560 B
Bash

# Template file for 'ruby-hpricot'
pkgname=ruby-hpricot
version=0.8.6
revision=6
wrksrc="${pkgname#ruby-}-${version}"
build_style=gemspec
makedepends="ruby-devel"
short_desc="Swift, liberal HTML parser"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}