summaryrefslogtreecommitdiff
path: root/homebrew/docx2txt
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/docx2txt')
-rw-r--r--homebrew/docx2txt/.beer21
-rw-r--r--homebrew/docx2txt/.make.sh-auto2
-rw-r--r--homebrew/docx2txt/_metadata/description1
-rw-r--r--homebrew/docx2txt/_metadata/homepage1
-rw-r--r--homebrew/docx2txt/_metadata/name1
-rw-r--r--homebrew/docx2txt/_metadata/version1
-rwxr-xr-xhomebrew/docx2txt/download.sh1
7 files changed, 28 insertions, 0 deletions
diff --git a/homebrew/docx2txt/.beer b/homebrew/docx2txt/.beer
new file mode 100644
index 000000000..8a7f23f75
--- /dev/null
+++ b/homebrew/docx2txt/.beer
@@ -0,0 +1,21 @@
+{
+ "name": "Docx2txt",
+ "description": "Converts Microsoft Office docx documents to equivalent text documents",
+ "url": "https://downloads.sourceforge.net/docx2txt/docx2txt-1.4.tgz",
+ "mirror": null,
+ "homepage": "https://docx2txt.sourceforge.io/",
+ "depends": [],
+ "resource": [
+ {
+ "name": "sample_doc",
+ "url": "https://calibre-ebook.com/downloads/demos/demo.docx"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"install\", \"CONFIGDIR=#{etc}\", \"BINDIR=#{bin}\""
+ ],
+ "version": "1.4",
+ "file": "docx2txt.rb"
+} \ No newline at end of file
diff --git a/homebrew/docx2txt/.make.sh-auto b/homebrew/docx2txt/.make.sh-auto
new file mode 100644
index 000000000..3532ca61a
--- /dev/null
+++ b/homebrew/docx2txt/.make.sh-auto
@@ -0,0 +1,2 @@
+pkg:setup
+make DESTDIR=${PKG_DEST} install CONFIGDIR=#{etc} BINDIR=#{bin}
diff --git a/homebrew/docx2txt/_metadata/description b/homebrew/docx2txt/_metadata/description
new file mode 100644
index 000000000..7cd3dffdb
--- /dev/null
+++ b/homebrew/docx2txt/_metadata/description
@@ -0,0 +1 @@
+Converts Microsoft Office docx documents to equivalent text documents
diff --git a/homebrew/docx2txt/_metadata/homepage b/homebrew/docx2txt/_metadata/homepage
new file mode 100644
index 000000000..8ec35d8bf
--- /dev/null
+++ b/homebrew/docx2txt/_metadata/homepage
@@ -0,0 +1 @@
+https://docx2txt.sourceforge.io/
diff --git a/homebrew/docx2txt/_metadata/name b/homebrew/docx2txt/_metadata/name
new file mode 100644
index 000000000..ca9389e76
--- /dev/null
+++ b/homebrew/docx2txt/_metadata/name
@@ -0,0 +1 @@
+Docx2txt
diff --git a/homebrew/docx2txt/_metadata/version b/homebrew/docx2txt/_metadata/version
new file mode 100644
index 000000000..c068b2447
--- /dev/null
+++ b/homebrew/docx2txt/_metadata/version
@@ -0,0 +1 @@
+1.4
diff --git a/homebrew/docx2txt/download.sh b/homebrew/docx2txt/download.sh
new file mode 100755
index 000000000..8df0c9e7f
--- /dev/null
+++ b/homebrew/docx2txt/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/docx2txt/docx2txt-1.4.tgz \ No newline at end of file