void-packages/srcpkgs/ruby-rdiscount/template

21 lines
611 B
Bash

# Template file for 'ruby-rdiscount'
pkgname=ruby-rdiscount
version=2.2.0.1
revision=2
wrksrc="${pkgname#ruby-}-${version}"
build_style=gemspec
makedepends="ruby-devel"
short_desc="Fast implementation of Gruber's Markdown in C"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-3-Clause"
homepage="http://dafoster.net/projects/rdiscount/"
distfiles="https://github.com/davidfstr/rdiscount/archive/${version}.tar.gz"
checksum=d628ea6db87f8eb79932fcf6011354a3f5b7ecbc32e79f900905c8ef1552f79d
post_install() {
vlicense COPYING
# Provided by 'discount'
rm ${DESTDIR}/usr/share/man/man7/markdown.7
}