From 64aa7998d709873a0b6fd22653a977a99e6a8738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 7 Aug 2025 13:12:01 +0700 Subject: [PATCH] New package: ruby-thor-1.2-1.2.2 --- srcpkgs/ruby-thor-1.2/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/ruby-thor-1.2/template 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" +}