void-packages/srcpkgs/ruby-hpricot/template
2022-03-12 16:38:18 +01:00

22 lines
560 B
Bash

# Template file for 'ruby-hpricot'
pkgname=ruby-hpricot
version=0.8.6
revision=7
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
}