summaryrefslogtreecommitdiff
path: root/community/antiword
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/antiword
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/antiword')
-rw-r--r--community/antiword/PKGBUILD34
-rw-r--r--community/antiword/antiword-helper13
-rw-r--r--community/antiword/antiword.install16
3 files changed, 0 insertions, 63 deletions
diff --git a/community/antiword/PKGBUILD b/community/antiword/PKGBUILD
deleted file mode 100644
index 3d5c45644..000000000
--- a/community/antiword/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 55537 2011-09-14 08:02:10Z andrea $
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: Aaron, phrakture, Griffin <aaron@archlinux.org>
-# Contributor: Gustav Munkby <grddev@gmx.net>
-
-pkgname=antiword
-pkgver=0.37
-pkgrel=3
-pkgdesc="A free MS Word reader for Linux and RISC OS"
-arch=('i686' 'x86_64')
-url="http://www.winfield.demon.nl/"
-license=('GPL')
-depends=('bash')
-install=antiword.install
-source=("http://www.winfield.demon.nl/linux/$pkgname-$pkgver.tar.gz"
- 'antiword-helper')
-md5sums=('f868e2a269edcbc06bf77e89a55898d1'
- '01a988376cfd4bb268120ab597c9abe3')
-
-build(){
- cd "${srcdir}"/$pkgname-$pkgver
-
- sed -i "s|GLOBAL_INSTALL_DIR =.*|GLOBAL_INSTALL_DIR = /usr/bin|g" \
- Makefile.Linux
-
- make OPT="${CFLAGS} -DNDEBUG" LDFLAGS="${LDFLAGS}"
-}
-
-package() {
- cd "${srcdir}"/$pkgname-$pkgver
- make DESTDIR="${pkgdir}" global_install
- install -m755 $srcdir/antiword-helper $pkgdir/usr/bin/
- install -Dm644 Docs/antiword.1 $pkgdir/usr/share/man/man1/antiword.1
-}
diff --git a/community/antiword/antiword-helper b/community/antiword/antiword-helper
deleted file mode 100644
index ee9fea627..000000000
--- a/community/antiword/antiword-helper
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-[ $# -eq 2 ] || exit 1
-
-tmpfile=/tmp/aw$$.txt
-editor=${EDITOR:-`which vi`}
-terminal="$2"
-
-antiword "$1" > $tmpfile
-chmod -w $tmpfile
-$terminal -e $editor $tmpfile
-chmod +w $tmpfile
-rm $tmpfile
diff --git a/community/antiword/antiword.install b/community/antiword/antiword.install
deleted file mode 100644
index 010579522..000000000
--- a/community/antiword/antiword.install
+++ /dev/null
@@ -1,16 +0,0 @@
-post_install() {
- cat << EOF
-NOTES On Antiword Integration:
-
-* If you use mozplugger, make sure to configure the
- msword section like so (replacing <TERMINAL> with your
- terminal of choice):
- application/msword: doc, dot: Microsoft Word Document
- ignore_errors exits: antiword-helper <TERMINAL> "$file"
-
-* To properly use antiword in your mailcap settings:
- application/msword; antiword %s; copiousoutput
-
-* To enable drag-and-drop support in KDE, use the kantiword script
-EOF
-}