From 8dfa62e5afd1f61205080ec3c7b8e212b5479bf9 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 27 Oct 2018 04:55:59 -0300 Subject: [PATCH] New package: ruby-rdiscount-2.2.0.1. --- srcpkgs/ruby-rdiscount/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/ruby-rdiscount/template diff --git a/srcpkgs/ruby-rdiscount/template b/srcpkgs/ruby-rdiscount/template new file mode 100644 index 00000000000..3bf09d0a1f6 --- /dev/null +++ b/srcpkgs/ruby-rdiscount/template @@ -0,0 +1,20 @@ +# Template file for 'ruby-rdiscount' +pkgname=ruby-rdiscount +version=2.2.0.1 +revision=1 +wrksrc="${pkgname#ruby-}-${version}" +build_style=gemspec +makedepends="ruby-devel" +short_desc="Fast implementation of Gruber's Markdown in C" +maintainer="maxice8 " +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 +}