summaryrefslogtreecommitdiff
path: root/homebrew/kpcli/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/kpcli/.make.sh-auto')
-rw-r--r--homebrew/kpcli/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/kpcli/.make.sh-auto b/homebrew/kpcli/.make.sh-auto
new file mode 100644
index 000000000..ff7978db0
--- /dev/null
+++ b/homebrew/kpcli/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+ENV.prepend_create_path "PERL5LIB", libexec/"lib/perl5"
+ENV.prepend_path "PERL5LIB", libexec/"lib"
+resources = [
+"File::KeePass", "Crypt::Rijndael", "Sort::Naturally", "Term::ShellUI", "Data::Password", "Clipboard", "Mac::Pasteboard", "Capture::Tiny", ]
+resources.each do |r|
+resource(r).stage do
+perl Makefile.PL INSTALL_BASE=#{libexec}
+make DESTDIR=${PKG_DEST} install