diff --git a/srcpkgs/ruby-thor-1.2/template b/srcpkgs/ruby-thor-1.2/template new file mode 100644 index 00000000000..f850e04f5f9 --- /dev/null +++ b/srcpkgs/ruby-thor-1.2/template @@ -0,0 +1,20 @@ +# Template file for 'ruby-thor-1.2' +pkgname=ruby-thor-1.2 +version=1.2.2 +revision=1 +build_style=gem +depends="ruby-thor" +short_desc="Ruby toolkit for building powerful command-line interfaces." +maintainer="Orphaned " +license="MIT" +homepage="http://whatisthor.com/" +distfiles="https://rubygems.org/downloads/thor-${version}.gem" +checksum=2f93c652828cba9fcf4f65f5dc8c306f1a7317e05aad5835a13740122c17f24c + +pre_install() { + export gemname=thor +} + +post_install() { + rm -f "${DESTDIR}/usr/bin/thor" +}