summaryrefslogtreecommitdiffstats
path: root/wm-addons
diff options
context:
space:
mode:
authorFlorian Franzmann2020-01-19 19:57:03 +0100
committerFlorian Franzmann2020-01-19 19:57:31 +0100
commit5eb7317b90eb7081e687d1ce3408283bd4b5aeb2 (patch)
treea3cb1652aea34e71633996058625cada8c47cc10 /wm-addons
parent921b21cabe3c6b0ee50b8c247c0899e83edfcd1a (diff)
wm-addons/rofi-calc: new spell, a front end for qalculate
Diffstat (limited to 'wm-addons')
-rwxr-xr-xwm-addons/rofi-calc/DEPENDS4
-rwxr-xr-xwm-addons/rofi-calc/DETAILS17
-rw-r--r--wm-addons/rofi-calc/HISTORY3
-rwxr-xr-xwm-addons/rofi-calc/PRE_BUILD4
4 files changed, 28 insertions, 0 deletions
diff --git a/wm-addons/rofi-calc/DEPENDS b/wm-addons/rofi-calc/DEPENDS
new file mode 100755
index 0000000000..fcbf4d71cd
--- /dev/null
+++ b/wm-addons/rofi-calc/DEPENDS
@@ -0,0 +1,4 @@
+depends gcc &&
+depends qalculate &&
+depends autoconf &&
+depends automake
diff --git a/wm-addons/rofi-calc/DETAILS b/wm-addons/rofi-calc/DETAILS
new file mode 100755
index 0000000000..647bb8ffcb
--- /dev/null
+++ b/wm-addons/rofi-calc/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=rofi-calc
+ VERSION=1.5
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_URL[0]=https://github.com/svenstaro/${SPELL}/archive/v${VERSION}.tar.gz
+ SOURCE_HASH=sha512:04213b6489cd9e3c5085a88cee07ee9413819c19d4ee08f6e2eef3ad418d21b5acaf1d4ef21f1495d81694e5706f93598c91ada65f1bcc83ce94a6cf5d50ea0c
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-1.5"
+ WEB_SITE="https://github.com/svenstaro/rofi-calc"
+ LICENSE[0]=MIT
+ ENTERED=20200119
+ SHORT="a rofi plugin that uses libqalculate's qalc to parse natural language input and provide results"
+cat << EOF
+A rofi plugin that uses libqalculate's qalc to parse natural language input
+and provide results.
+
+Since this uses libqalculate's amazing qalc you can try natural language
+queries such 500 + 25% or 5000 EUR to USD or 150 to hex.
+EOF
diff --git a/wm-addons/rofi-calc/HISTORY b/wm-addons/rofi-calc/HISTORY
new file mode 100644
index 0000000000..d0b6439889
--- /dev/null
+++ b/wm-addons/rofi-calc/HISTORY
@@ -0,0 +1,3 @@
+2020-01-19 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * DEPENDS, DETAILS: spell created
+
diff --git a/wm-addons/rofi-calc/PRE_BUILD b/wm-addons/rofi-calc/PRE_BUILD
new file mode 100755
index 0000000000..2c7959e81a
--- /dev/null
+++ b/wm-addons/rofi-calc/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+autoreconf -fi