aboutsummaryrefslogtreecommitdiff
path: root/src/homebrew/remembering-0-1-2.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-28 19:51:44 -0300
committerEuAndreh <eu@euandre.org>2023-03-28 19:51:44 -0300
commitc5e9b62f0193ce802955ebdc8c128a21f3ca3097 (patch)
treef8d391931516600749544d0a95b187f20967f21e /src/homebrew/remembering-0-1-2.rb
parentsrc/bin/paku.in: Add WIP version of Alpine support, based off of Debian (diff)
downloadpackage-repository-c5e9b62f0193ce802955ebdc8c128a21f3ca3097.tar.gz
package-repository-c5e9b62f0193ce802955ebdc8c128a21f3ca3097.tar.xz
mv Formula/ src/homebrew/
Diffstat (limited to 'src/homebrew/remembering-0-1-2.rb')
-rw-r--r--src/homebrew/remembering-0-1-2.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/homebrew/remembering-0-1-2.rb b/src/homebrew/remembering-0-1-2.rb
new file mode 100644
index 0000000..2f072d3
--- /dev/null
+++ b/src/homebrew/remembering-0-1-2.rb
@@ -0,0 +1,17 @@
+class Remembering012 < Formula
+ desc 'Add memory to dmenu, fzf and similar tools'
+ homepage 'https://euandre.org/s/remembering/'
+ url 'https://euandre.org/git/remembering/snapshot/remembering-v0.1.2.tar.xz'
+ sha256 'bbf0fd451d3de3b09a01cfbcc74482741463f9d8ac73ba6024e538c203b1dfeb'
+ license 'AGPL-3.0-or-later'
+
+ def install
+ system 'make', "PREFIX=#{prefix}"
+ system 'make', 'check', "PREFIX=#{prefix}"
+ system 'make', 'install', "PREFIX=#{prefix}"
+ end
+
+ test do
+ system "#{bin}/remembering", '-V'
+ end
+end